-
Notifications
You must be signed in to change notification settings - Fork 151
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
Dynamic routes not working #16
Comments
I realized that I forgot to add a
and rebuilding, I'm still seeing the same errors |
Thanks for creating & posting that example. |
I’ll also try and downgrade to 9.5 later and see if that fixes it. Thanks! |
Hmm - That didn't seem to help. Using |
Sorry for the delay. Checked it out and got the same result, so routing is definitely broken for this example. |
No worries, and sounds good. I'm happy to help debug if needed |
Short update regarding this issue: This was a workaround introduced for slug routes (e.g. To prevent the issue in the future we set up an local e2e testing (proxy -> lambda) in #17 powered by AWS SAM and introduce further unit tests to cover that use cases. Routing is a bit complicated here because it is mostly based on reverse engineering Vercel's proxy solution but with the testing we should have a solution ready soon. |
Thanks @ofhouse for the update! Looking forward to the fix. Let me know how I can help |
@andrewgadziksonos ok, end of the year was busier than I thought, so sorry again for the delay on this issue 🙈. I finally implemented a working solution for the issue and the e2e tests results also confirm that it is working. Unfortunately there is still one test failing for a fallback route. |
Good news, we finally have a new Please note that you also need to update the |
Hello!
I'm seeing issues with dynamic pages and I just wanted to make sure that it's not something I'm doing incorrectly. Here's my
tf-next
build output,You can see that I have a mix of dynamic routes, catch-all routes and optional catch-all routes.
Going to https://d1hjov1nk12qxr.cloudfront.net/products/one results in a 404, but going to https://d1hjov1nk12qxr.cloudfront.net/products/[pid] results in rendered HTML.
Here's a zip of my test repo,
nextjs-aws-demo.zip
Thanks for the help in advance,
Andrew
The text was updated successfully, but these errors were encountered: