Update index.js

This commit is contained in:
Zohan Subhash
2023-03-01 13:02:52 +05:30
committed by GitHub
parent d60d53cdb4
commit 22a201df41
+2
View File
@@ -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(