_headers file is recognized but not working
Hello, I'm using this _headers file:
It is recognized in the deployment, but every URL I try to open doesn't have the "X-Robots-Tag" header on the response.
What can I do?
3 Replies
Looks like it’s being SSR’d
https://developers.cloudflare.com/pages/platform/headers/
See note at top of page
Ah. Now I see
Makes sense, thank you
For future reference, if anybody wants to fix it and is using Nuxt, add a middleware in
server/middleware/
with