Skip to content

Commit 511c0ba

Browse files
author
Avaer Kazmer
committed
Comment out normalizeUrl protocol insertion
1 parent 599d26b commit 511c0ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ function _normalizeUrl(src, baseUrl) {
3232
if (/^\/\//.test(src)) {
3333
src = new URL(baseUrl).protocol + src;
3434
}
35-
if (!/^(?:\/|[a-z]+:)/.test(src)) {
35+
/* if (!/^(?:\/|[a-z]+:)/.test(src)) {
3636
src = baseUrl + (!/\/$/.test(baseUrl) ? '/' : '') + src;
37-
}
37+
} */
3838
if (!/^(?:https?|data|blob):/.test(src)) {
3939
return new URL(src, baseUrl).href
4040
.replace(/^(file:\/\/)\/([a-z]:.*)$/i, '$1$2');

0 commit comments

Comments
 (0)