velocity.js file being served as http rather than https
- 
					
					
					
					
I've just deployed bagisto onto a test environment and enabled https but the velocity.js file is still being served over http rather than https which means it's not loading the file correctly.
https://omo0y04moyombfeb4701.cleaver.rocks/
I'm using a paas solution to handle the setup of the server and it's using a specific laravel setup so I'm assuming the server is setup as per laravel recommendations.
It's on a nginx web server rather than apache. I'm not sure if this is a web server issue or bagisto not returning the correct protocol.
Are you able to help?
 - 
					
					
					
					
Hi @monder
Which version of bagisto are you using ? - 
					
					
					
					
I'm on v1.4.3
 - 
					
					
					
					
okay, worked out it's due to this in the
layout.blade.phpfile<meta name="base-url" content="{{ url()->to('/') }}">The
url()function is returning http rather than https which means in theapp-core.jsfile calling thegetBaseUrlfunction is returning the http url.Anybody got any ideas on how to fix this?
 - 
					
					
					
					
Hi there,
As i can see the velocity.js file is being served as https.
Please find the Link here - 
					
					
					
					
I've been playing around with this the past couple of days and I've had to put the below in the
AppServiceProvider.phpboot methodURL::forceScheme('https');