mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
Use vector skin
This commit is contained in:
@@ -354,6 +354,8 @@ module.exports = function(redis) {
|
||||
const params = new URLSearchParams(req.query)
|
||||
// wikipedia doesn't support 'lang' parameter
|
||||
params.delete('lang')
|
||||
// set skin
|
||||
params.set('useskin', 'vector')
|
||||
const up_params = params.toString()
|
||||
const result = await download(url, up_params)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user