mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-28 19:00:31 +01:00
@@ -1,7 +1,7 @@
|
||||
export default defineNuxtRouteMiddleware((to) => {
|
||||
if (to.path === '/writing' && process.env.NODE_ENV !== 'development') {
|
||||
return navigateTo('/', {
|
||||
redirectCode: 301,
|
||||
})
|
||||
}
|
||||
if (to.path === '/writing' && process.env.NODE_ENV !== 'development') {
|
||||
return navigateTo('/', {
|
||||
redirectCode: 301,
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user