Przeglądaj źródła

remove hash from base URI

Gildas 7 lat temu
rodzic
commit
7e8f3c395b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -241,7 +241,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 		constructor(options) {
 			this.options = options;
 			this.stats = new Stats(options);
-			this.baseURI = options.url;
+			this.baseURI = DomUtil.normalizeURL(options.url);
 		}
 
 		async loadPage(pageContent) {