Commit da494dbb authored by Tim Neutkens's avatar Tim Neutkens

Document poweredByHeader option

Fixes #7657
parent d190f2e1
...@@ -1374,6 +1374,17 @@ app.prepare().then(() => { ...@@ -1374,6 +1374,17 @@ app.prepare().then(() => {
}) })
``` ```
#### Changing x-powered-by
By default Next.js will add `x-powered-by` to the request headers. There's an optional way to opt-out of this:
```js
// next.config.js
module.exports = {
poweredByHeader: false,
}
```
### Dynamic Import ### Dynamic Import
<details> <details>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment