提交 120d8858 编写于 作者: X xr0master 提交者: ULIVZ

feat($core): use any custom protocol for outboundRE (#1731)

上级 1385dd6b
export const hashRE = /#.*$/
export const extRE = /\.(md|html)$/
export const endingSlashRE = /\/$/
export const outboundRE = /^(https?:|mailto:|tel:|[a-zA-Z]{4,}:)/
export const outboundRE = /^[a-z]+:/i
export function normalize (path) {
return decodeURI(path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册