react-code-dataset / next.js /docs /01-app /03-api-reference /05-config /01-next-config-js /poweredByHeader.mdx
Download next.js/docs/01-app/03-api-reference/05-config/01-next-config-js/poweredByHeader.mdx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 596 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/docs/01-app/03-api-reference/05-config/01-next-config-js/poweredByHeader.mdx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/docs/01-app/03-api-reference/05-config/01-next-config-js/poweredByHeader.mdx
-
curl -L -o poweredByHeader.mdx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/docs/01-app/03-api-reference/05-config/01-next-config-js/poweredByHeader.mdx
596 Bytes
| title: poweredByHeader | |
| description: Next.js will add the `x-powered-by` header by default. Learn to opt-out of it here. | |
| {/* The content of this doc is shared between the app and pages router. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */} | |
| By default Next.js will add the `x-powered-by` header. To opt-out of it, open `next.config.js` and disable the `poweredByHeader` config: | |
| ```js filename="next.config.js" | |
| module.exports = { | |
| poweredByHeader: false, | |
| } | |
| ``` | |