From 223a3bee6ba177dfbe11196fecf47ff423f67823 Mon Sep 17 00:00:00 2001 From: CharleeWa <18888351756@163.com> Date: Wed, 31 Jul 2024 14:39:35 +0800 Subject: [PATCH] chore: ignore all localhost links --- .vitepress/config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index e170467..849f030 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -213,5 +213,10 @@ export default defineConfig({ message: '基于 MIT 许可发布', copyright: '版权所有 © 2022-2024 EasyTemplate', }, - } + }, + + ignoreDeadLinks:[ + // ignore all localhost links + /^https?:\/\/localhost/, + ], })