Skip to content

Commit f29ee89

Browse files
fix
1 parent e299cc3 commit f29ee89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.vitepress/config/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default defineConfig({
2222
...shared,
2323
locales,
2424
transformHead(context) {
25-
const head: HeadConfig[] = [ ...context.head ];
25+
const head: HeadConfig[] = [];
2626
if (!context.pageData.isNotFound) {
2727
const localesRegex = new RegExp(`^/(${Object.keys(locales).join('|')})`);
2828
const canonical = '/' + context.page.replace(/index\.(md|html)$/, '').replace(/\.md$/, context.siteConfig.cleanUrls ? '' : '.html');

0 commit comments

Comments
 (0)