Skip to content

Commit 20e08b1

Browse files
authored
chore: typo (#853)
1 parent ffb7914 commit 20e08b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/middleware/canonical-redirects.global.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* - /package/docs/* → /package-docs/*
77
* - /docs/* → /package-docs/*
88
* - /org/* → /@*
9-
* - /* → /package/* (Unless its an existing page)
9+
* - /* → /package/* (Unless it's an existing page)
1010
*/
1111
export default defineNuxtRouteMiddleware(to => {
1212
// Only redirect on client-side to avoid breaking crawlers mid-transition
@@ -38,7 +38,7 @@ export default defineNuxtRouteMiddleware(to => {
3838
}
3939

4040
// Keep this one last as it will catch everything
41-
// /* → /package/* (Unless its an existing page)
41+
// /* → /package/* (Unless it's an existing page)
4242
if (path.startsWith('/') && !path.startsWith('/package/')) {
4343
const router = useRouter()
4444
const resolved = router.resolve(path)

0 commit comments

Comments
 (0)