瀏覽代碼

remove hash from base URI

Gildas 7 年之前
父節點
當前提交
7e8f3c395b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {