[addon] populate existing config values in template

This commit is contained in:
TheBeastLT
2020-03-19 20:01:59 +01:00
parent e8390ad2a5
commit 25aafc7555
3 changed files with 9 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ router.get('/', (_, res) => {
router.get('/:configuration', (req, res) => {
const configValues = parseConfiguration(req.params.configuration);
const landingHTML = landingTemplate(manifest(configValues), configValues.providers, configValues.realdebrid);
const landingHTML = landingTemplate(manifest(configValues), configValues);
res.setHeader('content-type', 'text/html');
res.end(landingHTML);
});