mkierdev
mkierdev
NNuxt
Created by mkierdev on 11/14/2024 in #❓・help
Is there any option to modify crossorigin attribute for built JS static files?
The issue is as follows: we use cloudflare and in case of DDOS, we will enable Under Attack Mode. It sets a cookie which CF uses to let request in. We can't add that cookie to subdomain, because it's script type module and the request is blocked. If you have another solution on how to setup subdomain and do not alter static js, it would be great 😉
7 replies