소스 검색

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) {