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