Closed
Description
Describe the bug
If you set up a very simple nextjs app with the basePath
option configured, the deployed website will 404 a bunch of static asset paths. Here's an example for a basePath
of /cats-of-zapier
:
To Reproduce
Steps to reproduce the behavior:
- Create a new next.js app
- Add
basePath: '/foo'
tonext.config.js
- Deploy the app to netlify
- Navigate to the deployment and notice how all of the prefixed assets 404
Expected behavior
For the app to be served correctly, with no 404s.
Versions
- Next.js: 10.0.7
- plugin (if installed at fixed version): latest, I guess? Enabled from the Netlify UI