File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ so there are some considerations in deciding which one to use with your site.
50
50
only applies to rewrites, not redirects.
51
51
- If you need Next.js-specific features such as regex path or header matching, you must use Next.js rewrites.
52
52
53
- ### Using ` _rewrites ` and ` _headers ` files
53
+ ### Using ` _redirects ` and ` _headers ` files
54
54
55
- If you are using ` _rewrites ` or ` _headers ` files rather than a ` netlify.toml ` file, bear in mind that these files must
55
+ If you are using ` _redirects ` or ` _headers ` files rather than a ` netlify.toml ` file, bear in mind that these files must
56
56
be in the published directory of your site, not the root of the repo. To do this, put them in ` public ` and they will be
57
57
moved into ` .next ` at build time. Do not put them directly into ` .next ` , because it is emptied at build time. Any
58
- ` _rewrites ` or ` _headers ` files in the root of the repo will not be found when deployed.
58
+ ` _redirects ` or ` _headers ` files in the root of the repo will not be found when deployed.
You can’t perform that action at this time.
0 commit comments