diff --git a/api/pin.js b/api/pin.js index 4838b0f0..4465e513 100644 --- a/api/pin.js +++ b/api/pin.js @@ -35,6 +35,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 repoData = await fetchRepo(username, repo);