From c354933580426ec9132bd028e6c485da4924803c Mon Sep 17 00:00:00 2001 From: Ming Di Leom Date: Wed, 22 Dec 2021 19:35:42 +0000 Subject: [PATCH] fix(utils): remove unneeded lang parameter --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 5fca42e..8a4dd46 100644 --- a/src/utils.js +++ b/src/utils.js @@ -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 }