Add redirect

pull/5002/head
Cagatay Civici 2023-12-26 16:32:40 +03:00
parent ff37427044
commit db3ef5888e
1 changed files with 9 additions and 1 deletions

View File

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