mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 20:19:35 +01:00
Fix middleware
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export default defineNuxtRouteMiddleware((to) => {
|
||||
if (to.path === '/bookmarks' || to.path === 'writing') {
|
||||
if (to.path === '/bookmarks' || to.path === '/writing') {
|
||||
return navigateTo('/', {
|
||||
redirectCode: 301,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user