Fix navigation from global-not-found to app routes (#100592)
Links from `global-not-found` to app routes can leave users stuck on the 404 page because the router does not recognize that leaving the global 404 changes the root layout. Treat navigation away from `global-not-found` as a root layout change and perform a full-page navigation. Add an e2e regression test covering a link back to the home page. <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment