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