From b945ca1f1cd9f1291c72a9587fe7bfb2a120a610 Mon Sep 17 00:00:00 2001 From: Peter Giacomo Lombardo Date: Fri, 20 Dec 2024 17:16:09 +0100 Subject: [PATCH] Fix: Downcase theme selection (#2921) --- set_theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/set_theme.js b/set_theme.js index 2267f0c28e1..c68d0c63823 100644 --- a/set_theme.js +++ b/set_theme.js @@ -2,7 +2,7 @@ const fs = require("fs"); const path = require("path"); // Get the theme name from the environment variable, default to "default" -const theme = process.env.PWP__THEME || "default"; +const theme = (process.env.PWP__THEME || "default").toLowerCase(); // Define paths const themesDir = path.resolve(__dirname, "./app/assets/stylesheets/themes");