Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: upgrade-insecure-requests cannot be turned off for static build #214

Closed
dargmuesli opened this issue Sep 22, 2023 · 1 comment · Fixed by #212
Closed

fix: upgrade-insecure-requests cannot be turned off for static build #214

dargmuesli opened this issue Sep 22, 2023 · 1 comment · Fixed by #212
Labels
bug Something isn't working
Milestone

Comments

@dargmuesli
Copy link
Contributor

Version

nuxt-security: 0.14.4
nuxt: 3.7.3

Reproduction Link

https://stackblitz.com/edit/github-xdxcbc?file=nuxt.config.ts

Steps to reproduce

run nuxt generate, then npx serve .output/public and inspect the content-security-policy header

What is Expected?

As it's set to false in nuxt's configuration there should be no upgrade-insecure-requests policy

What is actually happening?

There is a upgrade-insecure-requests policy.

@dargmuesli dargmuesli added the bug Something isn't working label Sep 22, 2023
@Baroshem Baroshem added this to the 1.0.0 milestone Sep 26, 2023
@Baroshem
Copy link
Owner

Hey,

Thanks for reporting this issue! I have added it in the bf5d18e

@Baroshem Baroshem mentioned this issue Sep 26, 2023
3 tasks
@dargmuesli dargmuesli changed the title fix: upgrade-insecure-requests cannot be turned of for static build fix: upgrade-insecure-requests cannot be turned off for static build Oct 11, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants