forked from mirrored/github-readme-stats
Update top-langs.js
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user