1
0
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:
redmt 2022-06-11 19:34:37 +02:00
parent 8f57cb143b
commit b2dba3f723

View File

@ -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) {