mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-03-05 13:30:33 -05:00
Update preferences.js to pass instance_config to template
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user