Repository navigation
Replies: 3 comments 1 reply
|
Hi, Looking at:
It'd seem as if, the base route, and the redirect, do count as two right? |
0 replies
|
Same issue - We have around 400 routes but it showed the error In our case, our most of routes are dynamic routes Next.js version: 14.0.4 |
1 reply
|
This was also sending me a little 😵💫 for a while... for me (through looking at the Next.js source code) I found it's due to not setting I suggest adding |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
I'm using redirects in the next.config.js file. I have about 700 records. During the build process, Next.js shows me an error
Despite having about 700 redirects, I encountered this error. While reviewing the Next.js documentation, I couldn't find any information suggesting that redirect counts are doubled. I don't have redirects in another file. If I reduce the number to around 400-450, it works correctly.
single redirect structure:
Additional information
Example
No response
All reactions