rsnext/errors/api-routes-static-export.md
2019-08-26 16:00:37 +02:00

367 B

API routes in Static export

Why This Warning Occurred

An exportPathMap path was matched to an API route. next export will not prerender API routes to HTML.

Possible Ways to Fix It

Remove any paths using API routes from your exportPathMap in next.config.js.