Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 9ba5b86

Browse files
committed
ensure windows URLs use / not \
1 parent d5cd66f commit 9ba5b86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/system.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
}
5050
function toAbsoluteURL(base, href) {
5151

52+
if (isWindows)
53+
href = href.replace(/\\/g, '/');
54+
5255
href = parseURI(href || '');
5356
base = parseURI(base || '');
5457

0 commit comments

Comments
 (0)