rsnext/test/integration/trailing-slashes-href-resolving/pages/404.js
JJ Kasper 489cad36bc
Fix href resolving with trailing slash enabled (#16873)
This makes sure to strip the trailing slash before attempting to resolve the `href` against pages/dynamic routes and adds tests ensuring the correct pages are resolved with `trailingSlash: true` enabled.

Fixes: https://github.com/vercel/next.js/issues/16872
2020-09-06 02:36:57 +00:00

3 lines
77 B
JavaScript

export default function NotFound() {
return <div id="page-404">404</div>
}