Commit f5afe65
committed
[nextjs] Use config to set HTTP
[According to Next.js maintainers][suggestion], this can improve
performance:
> If you only need custom headers, you might see better performance by
> using the `headers` option in `next.config.js` instead of middleware.
[suggestion]: vercel/next.js#75930 (reply in thread)Server header1 parent 0032e17 commit f5afe65
2 files changed
+11
-7
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
5 | 16 | | |
6 | 17 | | |
7 | 18 | | |
0 commit comments