Skip to content

Commit bba3ca5

Browse files
committed
fix: Enhancement of isExternal
1 parent 46333ed commit bba3ca5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/core/util/core.js

+3
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,8 @@ export function isExternal(url) {
9696
) {
9797
return true;
9898
}
99+
if (/^\/\\/.test(url)) {
100+
return true;
101+
}
99102
return false;
100103
}

0 commit comments

Comments
 (0)