Got issues of CORS due to https and http call
I setup https for localhost as https ://hrm.dev.localhost , but see the javascripts are load with http:// then it causes CORS error as seen in the picture. This is Laravel 11, with Filament 3. Why it won't call with https, and how solve this issue. #cors, #https #table.js

6 Replies
Make sure you’re APP_URL in .env is also set to https
It is set.
Solution
Can also try setting ASSET_URL too.
Great it works. Thank you.

If that doesn’t work then you can try forcing it in a service provider. `URL::ForceSchema(‘https’)
Interesting, last project with L10, I don't need to set ASSET_URL to https it works well, but L11, I got issue.