FilamentF
Filament10mo ago
claude

CORS problem when switching to HTTPS for local dev

Access to script at 'http://localhost/js/filament/tables/components/table.js?v=3.2.140.0' from origin 'https://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.


I have changed
.env
to https://localhost
Using Caddy as reverse proxy.
I have pushed this build to production and worked perfectly with https and filament.
so something with https and localhost
Was this page helpful?