af49d5098b
fix NEXT-927 ([link](https://linear.app/vercel/issue/NEXT-927))
1 KiB
1 KiB
`Export Custom Routes
Why This Error Occurred
In your next.config.js
you defined rewrites
, redirects
, or headers
along with output: 'export'
(or you ran next export
).
These configs do not apply when exporting your Next.js application manually.
Possible Ways to Fix It
Disable the rewrites
, redirects
, and headers
from your next.config.js
when using output: 'export'
(or next export
) to deploy your application or deploy your application using a method that supports these configs.