mirror of
https://codeberg.org/teddit/teddit
synced 2025-02-16 20:20:36 +01:00
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…
x
Reference in New Issue
Block a user