When another site loads your built JS assets, Laravel never sees the request, so...
Joel Clermont @jclermont@phpc.social
When another site loads your built JS assets, Laravel never sees the request, so its CORS config can't help. Here's how to add the headers in Nginx for just those files, without slowing down everything else. #php #laravel https://masteringlaravel.io/daily/2026-09-09-republished-how-to-set-cors-headers-for-built-assets