-
Notifications
You must be signed in to change notification settings - Fork 10
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
Update 404 Handler to not get stuck #201
Comments
Original Issue: vercel/next.js#34006 |
I've also found an inverse case to be true -- if you have a published page, then convert it's status to draft or trash, it will still show, even after the 60 second revalidate window. |
ccorda
added a commit
that referenced
this issue
Jun 1, 2022
ccorda
added a commit
that referenced
this issue
Jun 8, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like something in v12 changed, and now our current redirect will get stuck if it first 404s, then has a redirect added next:
https://github.com/patronage/bubs-next/blob/main/website/src/pages/%5B%5B...slug%5D%5D.js#L96-L100
The solve looks to be to return more than
notFound: true
:The text was updated successfully, but these errors were encountered: