Skip to content

Commit 4083cd6

Browse files
committed
fix: exclude separators in non-http links
1 parent c578ac1 commit 4083cd6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

astro.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,9 @@ export default defineConfig({
163163
"/videos/**",
164164
"/search/**",
165165
"mailto:*",
166-
"vscode:*",
167-
"chrome:*",
166+
// Note: Two * are required to match across separators (i.e. `/`)
167+
"vscode:**",
168+
"chrome:**",
168169
],
169170
}),
170171
]

0 commit comments

Comments
 (0)