From 4103cd3c32f3d2f570538639d9305ed9cb1f0ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20R=C3=B6ssner?= Date: Mon, 4 Nov 2024 11:47:41 +1100 Subject: [PATCH] chore: add handy redirect --- next.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/next.config.js b/next.config.js index 30c0bd23..05726005 100644 --- a/next.config.js +++ b/next.config.js @@ -21,6 +21,15 @@ const config = withSerwist({ experimental: { reactCompiler: true, }, + async redirects() { + return [ + { + source: "/github", + destination: "https://github.com/FleetAdmiralJakob/chat-io", + permanent: true, + }, + ]; + }, }); export default config;