Update top-langs.js

This commit is contained in:
Zohan Subhash
2023-03-01 13:03:38 +05:30
committed by GitHub
parent 7e30ca6cc0
commit 7b87177734
+2
View File
@@ -41,6 +41,8 @@ export default async (req, res) => {
if (locale && !isLocaleAvailable(locale)) {
return res.send(renderError("Something went wrong", "Locale not found"));
}
theme = theme.replace(/-/g, "_")
try {
const topLangs = await fetchTopLanguages(