diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/web/note/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/note/util.js b/lib/web/note/util.js index eadfb1a3..ce3f0d6d 100644 --- a/lib/web/note/util.js +++ b/lib/web/note/util.js @@ -102,7 +102,7 @@ exports.getPublishData = function (req, res, note, callback) { } function isRevealTheme (theme) { - if (fs.existsSync(path.join(__dirname, '..', 'public', 'build', 'reveal.js', 'css', 'theme', theme + '.css'))) { + if (fs.existsSync(path.join(__dirname, '..', '..', '..', 'public', 'build', 'reveal.js', 'css', 'theme', theme + '.css'))) { return theme } return undefined |