[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: typo (#853)

authored by

abeer0 and committed by
GitHub
20e08b19 ffb7914f

+2 -2
+2 -2
app/middleware/canonical-redirects.global.ts
··· 6 6 * - /package/docs/* → /package-docs/* 7 7 * - /docs/* → /package-docs/* 8 8 * - /org/* → /@* 9 - * - /* → /package/* (Unless its an existing page) 9 + * - /* → /package/* (Unless it's an existing page) 10 10 */ 11 11 export default defineNuxtRouteMiddleware(to => { 12 12 // Only redirect on client-side to avoid breaking crawlers mid-transition ··· 38 38 } 39 39 40 40 // Keep this one last as it will catch everything 41 - // /* → /package/* (Unless its an existing page) 41 + // /* → /package/* (Unless it's an existing page) 42 42 if (path.startsWith('/') && !path.startsWith('/package/')) { 43 43 const router = useRouter() 44 44 const resolved = router.resolve(path)