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(