diff --git a/lib/web/note/util.ts b/lib/web/note/util.ts index 3dcb42941..ab802bda9 100644 --- a/lib/web/note/util.ts +++ b/lib/web/note/util.ts @@ -106,7 +106,7 @@ export module NoteUtils { } function isRevealTheme(theme: string) { - 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