Style not loaded on Production
it works fine on local
here is the deference between the production and local https://e-tajer-09854c7c2fb6.herokuapp.com/admin/login here is the link
here is the deference between the production and local https://e-tajer-09854c7c2fb6.herokuapp.com/admin/login here is the link
10 Replies
Check the console logs.
MDN Web Docs
How to fix a website with blocked mixed content - Security on the w...
Starting with Firefox 23, Firefox blocks active mixed content by default. This follows a practice adopted by Chrome.
So from the above, set your APP_URL to https not http @Sdeev
i try this but still geting the same thing
http://e-tajer-09854c7c2fb6.herokuapp.com/admin/login the stying are working fin on http and doesn't work in https https://e-tajer-09854c7c2fb6.herokuapp.com/admin/login
Assets are still loading over http
Deploy the app again
Failing that try:
https://stackoverflow.com/questions/35827062/how-to-force-laravel-project-to-use-https-for-all-routes
Stack Overflow
How to force Laravel Project to use HTTPS for all routes?
I am working on a project that requires a secure connection.
I can set the route, uri, asset to use 'https' via:
Route::get('order/details/{id}', ['uses' => 'OrderController@details', 'as' =&g...
i fix it by adding the folowing code to the AppServiceProvider but idont think that is the best solution for the problem
ASSET_URL=https://e-tajer-09854c7c2fb6.herokuapp.com
?@Leandro Ferreira yes it works using ASSET_URL thank you