Skip to content

Commit

Permalink
Fix: Downcase theme selection (#2921)
Browse files Browse the repository at this point in the history
  • Loading branch information
pglombardo authored Dec 20, 2024
1 parent 430d6a2 commit b945ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set_theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit b945ca1

Please sign in to comment.