From b2dba3f72321de197c3e1e66055d1d0b1cc901c8 Mon Sep 17 00:00:00 2001 From: redmt Date: Sat, 11 Jun 2022 19:34:37 +0200 Subject: [PATCH] Update preferences.js to pass instance_config to template --- routes/preferences.js | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/preferences.js b/routes/preferences.js index 169928e..9d7169b 100644 --- a/routes/preferences.js +++ b/routes/preferences.js @@ -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) {