-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
priority: mediumtype: bugcode to address defects in shipped codecode to address defects in shipped code
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
Metadata
Metadata
Assignees
Labels
priority: mediumtype: bugcode to address defects in shipped codecode to address defects in shipped code
