diff --git a/src/lib/web/note/util.ts b/src/lib/web/note/util.ts index e8f6a3e1d..e26d3235e 100644 --- a/src/lib/web/note/util.ts +++ b/src/lib/web/note/util.ts @@ -71,7 +71,7 @@ export function findNoteOrCreate (req, res, callback: (note: any) => void, inclu } 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