mirror of
https://github.com/smyalygames/flightsim-on-linux.git
synced 2025-05-18 06:04:14 +02:00
refactor: change URL casing and add redirects for old URLs
This commit is contained in:
parent
2b51bffe97
commit
be4eb87de3
@ -1,7 +1,22 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const withNextra = require('nextra')({
|
||||
theme: 'nextra-theme-docs',
|
||||
themeConfig: './src/theme.config.tsx'
|
||||
themeConfig: './src/theme.config.tsx',
|
||||
})
|
||||
|
||||
module.exports = withNextra()
|
||||
module.exports = withNextra({
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: '/msfs/utils/navigraphHub',
|
||||
destination: '/msfs/utils/navigraph-hub',
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: '/msfs/utils/navigraphSimlink',
|
||||
destination: '/msfs/utils/navigraph-simlink',
|
||||
permanent: true,
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"contrail": "Contrail",
|
||||
"gsx": "GSX",
|
||||
"navigraphHub": "Navigraph Hub",
|
||||
"navigraphSimlink": "Navigraph Simlink",
|
||||
"navigraph-hub": "Navigraph Hub",
|
||||
"navigraph-simlink": "Navigraph Simlink",
|
||||
"stkp": "SimToolkitPro",
|
||||
"vatsim": "VATSIM"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user