diff --git a/src/server/node/theme.mjs b/src/server/node/theme.mjs index 5e379582..2e124e78 100644 --- a/src/server/node/theme.mjs +++ b/src/server/node/theme.mjs @@ -30,8 +30,8 @@ class Theme extends EventEmitter { if (theme.includes('.css') && fs.existsSync(theme)) { this.files.push(theme) - } 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 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('(ERROR) Theme not found: "' + theme) }