Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Where can I add headers? - Nuxt
N
Nuxt
•
4y ago
cosbgn
Where can I add headers?
I want to add some responseHeaders for both server routes
& static files
. For example
:
X-Frame-Options: DENY
X-Frame-Options: DENY
- In the server I guess I can use a middleware as use
setResponseHeader
setResponseHeader
but for static
/generated pages
(i
.e
.
.vue files
)
?
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to add HTTP headers to bundle assets
N
Nuxt / ❓・help
14mo ago
How to add headers into route middleware of Nuxt3
N
Nuxt / ❓・help
2y ago
how can i add `zbar-wasm` to nuxt?
N
Nuxt / ❓・help
2y ago