Skip to content

Commit 1ae0a9a

Browse files
committed
[build] 4.1.0
1 parent 7e169ad commit 1ae0a9a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/docsify.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3493,11 +3493,11 @@ var HTML5History = (function (History$$1) {
34933493
path = path.slice(0, queryIndex);
34943494
}
34953495

3496-
var base = getPath(location.origin, this.getBasePath());
3496+
var base = getPath(location.origin);
34973497
var baseIndex = path.indexOf(base);
34983498

34993499
if (baseIndex > -1) {
3500-
path = path.slice(baseIndex + base.length - 1);
3500+
path = path.slice(baseIndex + base.length);
35013501
}
35023502

35033503
return {

0 commit comments

Comments
 (0)