mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-30 18:34:09 +01:00
Ignore localhost links
This commit is contained in:
@@ -17,6 +17,10 @@ export default defineConfig({
|
|||||||
base: '/',
|
base: '/',
|
||||||
markdown: allMarkdownTransformers,
|
markdown: allMarkdownTransformers,
|
||||||
head: [['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]],
|
head: [['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]],
|
||||||
|
ignoreDeadLinks: [
|
||||||
|
// ignore all localhost links
|
||||||
|
/^https?:\/\/localhost/,
|
||||||
|
],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
nav: nav(),
|
nav: nav(),
|
||||||
editLink: {
|
editLink: {
|
||||||
|
|||||||
Reference in New Issue
Block a user