Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with Next.js basePath #508

Closed
eschaefer opened this issue Sep 9, 2024 · 1 comment
Closed

problem with Next.js basePath #508

eschaefer opened this issue Sep 9, 2024 · 1 comment

Comments

@eschaefer
Copy link

eschaefer commented Sep 9, 2024

The problem is related to #476.

The main index page on a basePath works fine, thanks to the resolution of #476.

However that fix only works if there are no other paths other than an index path, such as cloudfront.net/basePath/index

If setting up a project to have paths like:

  • cloudfront.net/basePath/index
  • cloudfront.net/basePath/article/[articleId]

Then all of those routes will return a 404, even the index path.

@eschaefer
Copy link
Author

Closing since this resolved with 3.1.2 it seems!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant