F
Filament9mo 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
toeknee9mo ago
Check the console logs.
Jap
Jap9mo 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
toeknee9mo ago
So from the above, set your APP_URL to https not http @Sdeev
Sdeev
SdeevOP9mo ago
i try this but still geting the same thing
No description
toeknee
toeknee9mo ago
Assets are still loading over http Deploy the app again
toeknee
toeknee9mo 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
SdeevOP9mo 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
LeandroFerreira9mo ago
ASSET_URL=https://e-tajer-09854c7c2fb6.herokuapp.com ?
Sdeev
SdeevOP9mo ago
@Leandro Ferreira yes it works using ASSET_URL thank you
Want results from more Discord servers?
Add your server