Skip to content

Commit 3388be9

Browse files
committed
Update app.js
1 parent 9b89319 commit 3388be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

theme/assets/website/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24749,7 +24749,7 @@ state.update = function(dom) {
2474924749
// Absolute url to the root of the book
2475024750
state.root = url.resolve(
2475124751
location.protocol+'//'+location.host,
24752-
path.dirname(path.resolve(location.pathname, state.basePath))
24752+
path.dirname(path.resolve(location.pathname.replace(/\/$/, '/index.html'), state.basePath))
2475324753
);
2475424754
};
2475524755

0 commit comments

Comments
 (0)