mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-31 02:44:17 +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
	 Sidharth Vinod
					Sidharth Vinod