Skip to content

Commit da14cec

Browse files
Merge branch 'main' into release-please--branches--main
2 parents a594552 + c2166d6 commit da14cec

File tree

3 files changed

+34
-34
lines changed

3 files changed

+34
-34
lines changed

docs/redirects-rewrites.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Netlify and Next.js redirects support different features and are evaluated at di
2222
- If you need redirects or rewrites to be applied before loading static files, you must use Netlify redirects and rewrites.
2323

2424
### When to use Next.js redirects or rewrites:
25-
- If you are using a _rewrite_ that points to a dynamic Next.js page, you must use Next.js rewrites. Next.js has no way of knowing what the rewritten page is when using Netlify rewrites, so the wrong page is likely to be rendered. This only applies to redirects, not rewrites.
25+
- If you are using a _rewrite_ that points to a dynamic Next.js page, you must use Next.js rewrites. Next.js has no way of knowing what the rewritten page is when using Netlify rewrites, so the wrong page is likely to be rendered. This only applies to rewrites, not redirects.
2626
- If you need Next.js-specific features such as regex path or header matching, you must use Next.js rewrites.
2727

2828
### Using `_rewrites` and `_headers` files

package-lock.json

+32-32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"@babel/core": "^7.15.8",
7676
"@babel/preset-env": "^7.15.8",
7777
"@babel/preset-typescript": "^7.16.0",
78-
"@netlify/build": "^26.3.0",
78+
"@netlify/build": "^26.3.1",
7979
"@netlify/eslint-config-node": "^5.1.4",
8080
"@reach/dialog": "^0.16.2",
8181
"@reach/visually-hidden": "^0.16.0",

0 commit comments

Comments
 (0)