mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
Make /nest a redirect instead of a rewrite (#1439)
This commit is contained in:
parent
0e40b46e0a
commit
6cf0b13546
1 changed files with 5 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue