Closed denisenepraunig closed 2 months ago
Hi @denisenepraunig
This is not normal. We are facing a dependency regression with 1.3.0, we will patch soon.
In the meantime can you please downgrade to "nuxt-security": "1.2.2"
in package.json ?
@Baroshem Related to Issue #415
1.3.0
is a regression for me aswell.
I use 1.2.2
while this is not fixed.
Released patch 1.3.1 with a fix for that from @vejja.
Please check if it works now :)
I can confirm this scenario by @denisenepraunig now works correctly with patch 1.3.1
works!
I'm used version nuxt-security: v1.3.2 but it happens when I want to specify contentSecurityPolicy inside. Maybe regression?
security: {
headers:{
contentSecurityPolicy: {
'upgrade-insecure-requests': false,
},
}
}
Hi @cesxhin
This looks like maybe a different issue.
Is this your full security
config, or do you have other settings as well ?
Also can you let me know your Nuxt version ?
@cesxhin I think this is a different issue. Could you please open a new idsue with all the details and preferably a reproduction repository?
Hello, I am getting started with
nuxt-security
.TLDR;
I just installed the latest nuxt and nuxt-security, locally I get some warnings in the console but the site works, deployed to Netlify I get a 500.
❓ Without touching anything, I am wondering if this is the expected behaviour?
Source code is here: https://github.com/denisenepraunig/nuxt-security-test
Deployed to Netlify - 500 https://nuxt-security-test.netlify.app/
I've created a project from scratch with:
which results in this
package.json
-dependencies
:nuxt.config.ts
:Localhost script errors but works
When I run it locally
npm run dev
I see this:Netlify 500
When I deploy to Netlify I get a 500
❓ Is this the expected behaviour?