Skip to content

Commit

Permalink
Add check for //
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks committed May 8, 2019
1 parent 1f08059 commit 3db5608
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/utils/resolve-url.js
Expand Up @@ -28,6 +28,9 @@ export function resolveUrl(url, baseURI) {
if (url && ABS_URL.test(url)) {
return url;
}
if (url === '//') {
return url;
}
// Lazy feature detection.
if (workingURL === undefined) {
workingURL = false;
Expand Down

0 comments on commit 3db5608

Please sign in to comment.