F
Filament10mo ago
Sdeev

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
No description
No description
10 Replies
toeknee
toeknee10mo ago
Check the console logs.
Jap
Jap10mo ago
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
No description
toeknee
toeknee10mo ago
So from the above, set your APP_URL to https not http @Sdeev
Sdeev
SdeevOP10mo ago
i try this but still geting the same thing
No description
Sdeev
SdeevOP10mo ago
toeknee
toeknee10mo ago
Assets are still loading over http Deploy the app again
toeknee
toeknee10mo ago
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...
Sdeev
SdeevOP10mo ago
i fix it by adding the folowing code to the AppServiceProvider but idont think that is the best solution for the problem
No description
LeandroFerreira
LeandroFerreira10mo ago
ASSET_URL=https://e-tajer-09854c7c2fb6.herokuapp.com ?
Sdeev
SdeevOP10mo ago
@Leandro Ferreira yes it works using ASSET_URL thank you

Did you find this page helpful?