mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 12:08:02 -05:00
Merge pull request #293 from Cpavrai/release/2.0.x
Fixes relative path for fetching the style
This commit is contained in:
commit
010a3f6f15
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue