We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's painful/impossible to set up/debug Content Policy etc. without any support in the dev server. You end up debugging by pushing to Netlify ...
I suggest we add a server config, mostly compatible with Netlify:
[[server.headers]] for = "/**" [server.headers.values] X-Frame-Options = "DENY" X-XSS-Protection = "1; mode=block" X-Content-Type-Options = "nosniff"
The text was updated successfully, but these errors were encountered:
Add HTTP header support for the dev server
c48e620
Fixes gohugoio#7031
d1aff33
063107e
1083144
Fixes #7031
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
bep
Successfully merging a pull request may close this issue.
It's painful/impossible to set up/debug Content Policy etc. without any support in the dev server. You end up debugging by pushing to Netlify ...
I suggest we add a server config, mostly compatible with Netlify:
The text was updated successfully, but these errors were encountered: