-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
X-Content-Type-Options nosniff duplicated ? #575
Comments
Not normal |
After I ran pnpm build --preset=cloudflare-pages-static. I have this dist/_headers
no. Devmode don't duplicate entries |
Which headers are duplicated? Can't see them above |
and
Also one is uppercase and one other is not |
ok got it |
If in dev mode it's working as expected. that's mean it's a cloudflare issue ? I think so |
I looked at the Cloudflare docs here : https://developers.cloudflare.com/pages/configuration/headers/ This is why the headers are getting duplicated @pi0 as per you suggestion to track nitrojs/nitro#2909 here:
Maybe we can start with the Nuxt approach: What is the assumption that routeRules: {
'/**': {
headers: {
foo: 'bar'
},
'/settings': {
headers: {
foo: 'baz'
}
}
} Am I correct to assume the See Stackblitz here : https://stackblitz.com/~/github.com/vejja/nuxt-starter-uimpbg |
Version
nuxt-security: 2.1.4
nuxt: 3.14.1592
Hello, I build an app with
pnpm build --preset=cloudflare-pages-static
and I see some duplicates entries in _headers.then that cause cloudflare to send in double some heaeders, that's normal ?
The text was updated successfully, but these errors were encountered: