Update preferences.js to pass instance_config to template
This commit is contained in:
parent
8f57cb143b
commit
b2dba3f723
|
@ -46,6 +46,7 @@ preferenceRoutes.get('/import_prefs/:key', (req, res, next) => {
|
|||
return res.render('frontpage', {
|
||||
json: null,
|
||||
user_preferences: req.cookies,
|
||||
instance_config: config,
|
||||
});
|
||||
}
|
||||
if (json) {
|
||||
|
|
Loading…
Reference in New Issue