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
![No description](https://cdn.answeroverflow.com/1220023653547249774/image.png)
![No description](https://cdn.answeroverflow.com/1220023653979127880/image.png)
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.
![No description](https://cdn.answeroverflow.com/1220042179112865832/image.png)
![No description](https://cdn.answeroverflow.com/1220042179423113319/image.png)
So from the above, set your APP_URL to https not http @Sdeev
i try this but still geting the same thing
![No description](https://cdn.answeroverflow.com/1220052730844938330/image.png)
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
![No description](https://cdn.answeroverflow.com/1220057172440907804/image.png)
ASSET_URL=https://e-tajer-09854c7c2fb6.herokuapp.com
?@Leandro Ferreira yes it works using ASSET_URL thank you