Skip to content

Commit 69387ee

Browse files
committed
allow empty rootURL in node.js for consistency with other implementations
1 parent 6bb2de5 commit 69387ee

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ class LegacyUrls {
6161

6262
class Urls {
6363
constructor(rootUrl) {
64-
assert(rootUrl, 'no rootUrl provided');
6564
this.rootUrl = cleanRoot(rootUrl);
6665
}
6766

0 commit comments

Comments
 (0)