mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
fix(utils): remove unneeded lang parameter
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user