From eb60f46493eb6466393bed257aa49ad491bb5ea0 Mon Sep 17 00:00:00 2001 From: vapormusic Date: Mon, 21 Feb 2022 12:42:06 +0700 Subject: [PATCH] fix themes --- src/main/base/browserwindow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/base/browserwindow.ts b/src/main/base/browserwindow.ts index 43612d06..a084ac0c 100644 --- a/src/main/base/browserwindow.ts +++ b/src/main/base/browserwindow.ts @@ -251,7 +251,7 @@ export class BrowserWindow { }) app.get("/themes/:theme", (req, res) => { - const theme = req.params.theme.toLowerCase(); + const theme = req.params.theme; const themePath = join(utils.getPath('srcPath'), "./renderer/themes/", theme); const userThemePath = join(utils.getPath('themes'), theme); if (existsSync(userThemePath)) {