I'm acutally facing a problem I did not have before. I've installed and deployed a domain on my current project deployed on Laravel Forge. Everything was working fine before. But after I've added the HTTPS / SSL certificate, some JS files can't be loaded.
But I get a 404 error. I've logged-in into SSH on my server, and I can confirm the file is there :
root@myproject:/home/forge/test.rl4u.tech/storage/app/public/basset/unpkg.com/jquery@3.7.1/dist# ls jquery.min.js
I've tried to do a : php artisan basset:clear, then php artisan basset:cache or internalize, but still the same problem. Everything was working fine before.
I'm acutally facing a problem I did not have before. I've installed and deployed a domain on my current project deployed on Laravel Forge. Everything was working fine before. But after I've added the HTTPS / SSL certificate, some JS files can't be loaded.
I'm facing some 404 errors, while files are present on the server. For example :
@basset('https://unpkg.com/jquery@3.7.1/dist/jquery.min.js')
Then the website tries to load : https://mydomain.com/storage/basset/unpkg.com/jquery@3.7.1/dist/jquery.min.js?da0bb19700ee
But I get a 404 error. I've logged-in into SSH on my server, and I can confirm the file is there :
root@myproject:/home/forge/test.rl4u.tech/storage/app/public/basset/unpkg.com/jquery@3.7.1/dist# ls jquery.min.js
I've tried to do a : php artisan basset:clear, then php artisan basset:cache or internalize, but still the same problem. Everything was working fine before.
Any ideas ?