We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 599d26b commit 511c0baCopy full SHA for 511c0ba
src/utils.js
@@ -32,9 +32,9 @@ function _normalizeUrl(src, baseUrl) {
32
if (/^\/\//.test(src)) {
33
src = new URL(baseUrl).protocol + src;
34
}
35
- if (!/^(?:\/|[a-z]+:)/.test(src)) {
+ /* if (!/^(?:\/|[a-z]+:)/.test(src)) {
36
src = baseUrl + (!/\/$/.test(baseUrl) ? '/' : '') + src;
37
- }
+ } */
38
if (!/^(?:https?|data|blob):/.test(src)) {
39
return new URL(src, baseUrl).href
40
.replace(/^(file:\/\/)\/([a-z]:.*)$/i, '$1$2');
0 commit comments