mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
fix invalid applyUserMods() theme parameter (fixes #39)
This commit is contained in:
+1
-1
@@ -373,7 +373,7 @@ module.exports = function(redis) {
|
||||
const downParams = new URLSearchParams(req.query).toString()
|
||||
const process_html = await processHtml(result, url, downParams, lang, req.cookies)
|
||||
if(process_html.success === true) {
|
||||
return res.send(applyUserMods(process_html.html.toString(), req.cookies, lang))
|
||||
return res.send(applyUserMods(process_html.html.toString(), req.cookies.theme, lang))
|
||||
}
|
||||
return res.status(500).send(process_html.reason)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user