Why does my Next.js route work locally but 404 after deploy?
Why does my Next.js route work locally but 404 after deploy?
0 comments
No comments yet.
Why does my Next.js route work locally but 404 after deploy?
No comments yet.
What worked for me: start from the smallest reproducible case, then change one thing at a time.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Adding what fixed it for us, in case someone lands here from search.
Sign in to answer, vote and comment.