Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit b51d36b

Browse files
committed
chore: redirect to Nuxt's official domain
1 parent da9a4b8 commit b51d36b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

middleware/index.global.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default defineNuxtRouteMiddleware((to) => {
2+
navigateTo(`https://learn.nuxt.com/ja${to.path}`, { redirectCode: 301, external: true })
3+
})

0 commit comments

Comments
 (0)