mirror of
https://github.com/Retropex/wtfhappenedinfeb2023.git
synced 2025-05-13 03:40:45 +02:00
redirect
This commit is contained in:
parent
8c142f1c16
commit
97007139cc
@ -4,5 +4,21 @@ module.exports = withNextra({
|
|||||||
i18n: {
|
i18n: {
|
||||||
locales: ['en'],
|
locales: ['en'],
|
||||||
defaultLocale: 'en'
|
defaultLocale: 'en'
|
||||||
}
|
},
|
||||||
|
|
||||||
|
async redirects() {
|
||||||
|
return [
|
||||||
|
// Basic redirect
|
||||||
|
{
|
||||||
|
source: '/install.html',
|
||||||
|
destination: '/',
|
||||||
|
permanent: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: '/install',
|
||||||
|
destination: '/',
|
||||||
|
permanent: true,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user