From 1e79ef8a4eadfc347675a1e5bcecd81a0441a769 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sat, 23 May 2020 14:45:51 +0200 Subject: [PATCH] Fix relative path in web/note/util Signed-off-by: David Mehren --- src/lib/web/note/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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