From ae7430b28d4f1a95fe6aa1375fcb88aaae7d2e6c Mon Sep 17 00:00:00 2001 From: Samuel Fernandez <79737178+polypixeldev@users.noreply.github.com> Date: Sun, 15 Dec 2024 14:05:08 -0500 Subject: [PATCH] Make /nest a redirect instead of a rewrite --- next.config.mjs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/next.config.mjs b/next.config.mjs index 89c2fae92..527d8cd17 100755 --- a/next.config.mjs +++ b/next.config.mjs @@ -207,6 +207,11 @@ const nextConfig = { destination: 'https://github.com/hackclub', permanent: true }, + { + source: '/nest', + destination: 'https://hackclub.app', + permanent: true + } ] }, async rewrites() { @@ -323,10 +328,6 @@ const nextConfig = { source: '/arcade/power-hour', destination: '/arcade/power-hour/index.html' }, - { - source: '/nest/', - destination: 'https://hackclub.app/' - } ] }, async headers() {