diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a2dbe44..4d8c630e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 0.39.2 - bug fixes + - regresssion: broken --theme option - regression: missing 'edit parent' action in editor's context menu ## 0.39.1 diff --git a/src/server/theme.js b/src/server/theme.js index 0115045f..e325b052 100644 --- a/src/server/theme.js +++ b/src/server/theme.js @@ -24,8 +24,8 @@ class Theme { if (theme.includes('.css') && fs.existsSync(theme)) { this.files.push(theme) - } else if (!theme.includes('.css') && fs.existsSync(path.resolve(__dirname + '/../browser/themes/' + theme + '.css'))) { - this.files.push(path.resolve(__dirname + '/../browser/themes/' + theme + '.css')) + } else if (!theme.includes('.css') && fs.existsSync(path.resolve(__dirname + '/../assets/themes/' + theme + '.css'))) { + this.files.push(path.resolve(__dirname + '/../assets/themes/' + theme + '.css')) } else { console.error('Theme error: "' + theme + '" not found.') }