Add redirect

pull/5002/head
Cagatay Civici 2023-12-26 16:38:15 +03:00
parent db3ef5888e
commit eaf337cd56
2 changed files with 10 additions and 9 deletions

View File

@ -15,15 +15,7 @@ export default defineNuxtConfig({
],
vite: aliasConfig,
nitro: {
alias: aliasConfig.resolve.alias,
routeRules: {
'/accessibility': {
redirect: {
to: '/guides/accessibility',
statusCode: 301
}
}
}
alias: aliasConfig.resolve.alias
},
primevue: {
options: {

9
vercel.json Normal file
View File

@ -0,0 +1,9 @@
{
"redirects": [
{
"source": "/accessibility",
"destination": "/guides/accessibility",
"permanent": true
}
]
}