From 167e1cbd9dc5aa8079ac20ca3d127b2c472ab552 Mon Sep 17 00:00:00 2001 From: Nathaniel Tampus Date: Mon, 6 Mar 2023 10:56:24 +0800 Subject: [PATCH] add temporary 404 page --- client/src/pages/404.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 client/src/pages/404.tsx diff --git a/client/src/pages/404.tsx b/client/src/pages/404.tsx new file mode 100644 index 0000000..3f8136e --- /dev/null +++ b/client/src/pages/404.tsx @@ -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 + } + }; +}