fix(utils): remove unneeded lang parameter

This commit is contained in:
Ming Di Leom
2021-12-22 19:35:42 +00:00
parent c6e7ebe129
commit c354933580
+1 -1
View File
@@ -359,7 +359,7 @@ module.exports = function(redis) {
url = `https://${lang}.wikipedia.org/wiki/${page}/${sub_page}`
break
case '/':
url = `https://${lang}.wikipedia.org/?lang=${lang}`
url = `https://${lang}.wikipedia.org/`
break
}