From 22a201df41ef56beae3b7b79530df5890c6a1126 Mon Sep 17 00:00:00 2001 From: Zohan Subhash Date: Wed, 1 Mar 2023 13:02:52 +0530 Subject: [PATCH] Update index.js --- api/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/index.js b/api/index.js index b449d43b..fff95808 100644 --- a/api/index.js +++ b/api/index.js @@ -46,6 +46,8 @@ export default async (req, res) => { if (locale && !isLocaleAvailable(locale)) { return res.send(renderError("Something went wrong", "Language not found")); } + + theme = theme.replace(/-/g, "_") try { const stats = await fetchStats(