From e1a86773af28730d338596a05ce6163991e69d05 Mon Sep 17 00:00:00 2001 From: Duosi-Dai Date: Mon, 6 May 2024 18:36:03 +0200 Subject: [PATCH] Redirect /team to about/team fixed #35 --- next.config.mjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 7192fd4..ed04af5 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -24,6 +24,15 @@ const nextConfig = { permanent: true } ] + }, + redirects: async () => { + return [ + { + source: "/team", + destination: "/about/team", + permanent: true + } + ] } }