This is because you are using relative URLs for your assets. You should use Laravel's helper asset to load your assets.
<link rel="stylesheet" type="text/css" href="{{ asset('css/style.css') }}">
In this example it loads style.css from public/css/ folder.
How do you load your assets?
thank you for your answer, I placed secure_asset instead of asset for links in https instead of http and I had placed a line ASSET_URL=public in the .env file that I deleted and everything works normally now
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.