mirror of
https://github.com/Retropex/wtfhappenedinfeb2023.git
synced 2025-05-12 19:30:45 +02:00
24 lines
391 B
JavaScript
24 lines
391 B
JavaScript
const withNextra = require("nextra")("nextra-theme-docs", "./theme.config.js");
|
|
|
|
module.exports = withNextra({
|
|
i18n: {
|
|
locales: ['en'],
|
|
defaultLocale: 'en'
|
|
},
|
|
|
|
async redirects() {
|
|
return [
|
|
// Basic redirect
|
|
{
|
|
source: '/install.html',
|
|
destination: '/',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/install',
|
|
destination: '/',
|
|
permanent: true,
|
|
},
|
|
]
|
|
}
|
|
}); |