diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-27 23:11:55 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-27 23:11:55 +0100 |
commit | 3388be9db6c6ae2173652df20eb98f36186c1f9a (patch) | |
tree | c629b8c5b680fed37681ff66d908e3fa78dabdc4 | |
parent | 9b89319820e63efafc51b125d320336f2ab9ca3f (diff) | |
download | gitbook-3388be9db6c6ae2173652df20eb98f36186c1f9a.zip gitbook-3388be9db6c6ae2173652df20eb98f36186c1f9a.tar.gz gitbook-3388be9db6c6ae2173652df20eb98f36186c1f9a.tar.bz2 |
Update app.js2.5.1
-rw-r--r-- | theme/assets/website/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/assets/website/app.js b/theme/assets/website/app.js index 4f8de39..ea8144f 100644 --- a/theme/assets/website/app.js +++ b/theme/assets/website/app.js @@ -24749,7 +24749,7 @@ state.update = function(dom) { // Absolute url to the root of the book state.root = url.resolve( location.protocol+'//'+location.host, - path.dirname(path.resolve(location.pathname, state.basePath)) + path.dirname(path.resolve(location.pathname.replace(/\/$/, '/index.html'), state.basePath)) ); }; |