diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-18 14:47:53 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-18 14:47:53 +0100 |
commit | 709b388dfcc641fab25d297618b6ffe49f5cd677 (patch) | |
tree | 661973ac5d7de4bb32db33648ecb23e9bba6b00e /lib/output/assets-inliner.js | |
parent | 6e83240233e6168aa6567eb6fcac62508fe7fd0e (diff) | |
download | gitbook-709b388dfcc641fab25d297618b6ffe49f5cd677.zip gitbook-709b388dfcc641fab25d297618b6ffe49f5cd677.tar.gz gitbook-709b388dfcc641fab25d297618b6ffe49f5cd677.tar.bz2 |
Fix path calcul to be coherant
Diffstat (limited to 'lib/output/assets-inliner.js')
-rw-r--r-- | lib/output/assets-inliner.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/assets-inliner.js b/lib/output/assets-inliner.js index 8d7c48e..6768830 100644 --- a/lib/output/assets-inliner.js +++ b/lib/output/assets-inliner.js @@ -73,7 +73,7 @@ module.exports = function assetsInliner(Base) { // Return relative path from the page .then(function(filename) { - return page.relative('/' + filename); + return page.relative(filename); }); }; |