Make /nest a redirect instead of a rewrite (#1439)

This commit is contained in:
Samuel Fernandez 2025-04-03 20:51:57 -04:00 committed by GitHub
parent 0e40b46e0a
commit 6cf0b13546
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -202,6 +202,11 @@ const nextConfig = {
destination: 'https://github.com/hackclub',
permanent: true
},
{
source: '/nest',
destination: 'https://hackclub.app',
permanent: true
}
]
},
async rewrites() {
@ -318,10 +323,6 @@ const nextConfig = {
source: '/arcade/power-hour',
destination: '/arcade/power-hour/index.html'
},
{
source: '/nest/',
destination: 'https://hackclub.app/'
}
]
},
async headers() {