add temporary 404 page
This commit is contained in:
12
client/src/pages/404.tsx
Normal file
12
client/src/pages/404.tsx
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
export default function NotFound() {}
|
||||||
|
|
||||||
|
// Temporary. Move to app/ directory when it's supported
|
||||||
|
|
||||||
|
export function getStaticProps() {
|
||||||
|
return {
|
||||||
|
redirect: {
|
||||||
|
destination: "/",
|
||||||
|
permanent: true
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user