fix: double-slash format url should be external link (#3165)

pull/3169/head
烽宁 8 months ago committed by GitHub
parent 0761062790
commit 7dbeac6df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,7 @@ export type {
SiteData
} from '../../types/shared'
export const EXTERNAL_URL_RE = /^[a-z]+:/i
export const EXTERNAL_URL_RE = /^(?:[a-z]+:|\/\/)/i
export const APPEARANCE_KEY = 'vitepress-theme-appearance'
export const HASH_RE = /#.*$/
export const EXT_RE = /(index)?\.(md|html)$/

Loading…
Cancel
Save