mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 09:45:37 -04:00
Fix relative path in web/note/util
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
a148e4d799
commit
1e79ef8a4e
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ export function findNoteOrCreate (req, res, callback: (note: any) => void, inclu
|
||||||
}
|
}
|
||||||
|
|
||||||
function isRevealTheme (theme: string) {
|
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 theme
|
||||||
}
|
}
|
||||||
return undefined
|
return undefined
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue