rsnext/test/e2e/app-dir/app-static
Jiachi Liu 8ed492f3c1
Default app router not found (#54199)
Adding a default app router not-found error page in production. We introduced a custom global not-found page if you have `not-found.js` file under app directory. Next.js will still routed you to default pages 404 if there's no routes matched when you don't have a custom `not-found.js`.

This PR creates a default layout (only having `html` and `body`) and will use the default not-found component as children to build a default 404 page for app router, and server will route to that page when there's any app router pages existed. This will also fix the hmr issue that when you hit a pathname doesn't exist, nextjs will compile `/_error` for you which is not expected, now we're using `/not-found` instead

Closes NEXT-1359
2023-08-28 22:09:16 +00:00
..
app add a "skip" cache type to verbose logging mode (#53275) 2023-07-28 20:01:31 +00:00
pages Handle unstable_cache in pages (#49624) 2023-05-10 13:59:48 -07:00
app-fetch-logging.test.ts Reduce flakiness of app-fetch-logging test (#53612) 2023-08-05 16:12:21 +00:00
app-static-custom-cache-handler-esm.test.ts fix: custom incremental cache handlers should work when transpiled (#54472) 2023-08-24 03:48:30 +00:00
app-static-custom-handler.test.ts fix: custom incremental cache handlers should work when transpiled (#54472) 2023-08-24 03:48:30 +00:00
app-static.test.ts Default app router not found (#54199) 2023-08-28 22:09:16 +00:00
cache-handler-default-export.js fix: custom incremental cache handlers should work when transpiled (#54472) 2023-08-24 03:48:30 +00:00
cache-handler.js Update app cache handler loading (#46290 2023-02-23 01:19:59 -08:00
next.config.js fix: custom incremental cache handlers should work when transpiled (#54472) 2023-08-24 03:48:30 +00:00