Don't consider localhost links as dead

Fixes the following error when building the site

    (!) Found dead link http://localhost:3000 in file self-hosting/index.md
    x Build failed in 1.72s
    If this is expected, you can disable this check via config. Refer: https://vitepress.dev/reference/site-config#ignoredeadlinks
This commit is contained in:
Manav Rathi 2024-03-08 21:17:00 +05:30
parent 20940293d3
commit ed3b165b4b

View file

@ -7,6 +7,7 @@ export default defineConfig({
description: "Documentation and help for Ente's products",
head: [["link", { rel: "icon", type: "image/png", href: "/favicon.png" }]],
cleanUrls: true,
ignoreDeadLinks: 'localhostLinks',
themeConfig: {
// We use the default theme (with some CSS color overrides). This
// themeConfig block can be used to further customize the default theme.