Fix middleware

This commit is contained in:
2024-02-02 18:59:13 +01:00
parent 4abcbe7f22
commit 581376fd22

View File

@@ -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,
})