diff --git a/backend/controllers/shared/RTLConf.js b/backend/controllers/shared/RTLConf.js index ee15ce11..f0ff3779 100644 --- a/backend/controllers/shared/RTLConf.js +++ b/backend/controllers/shared/RTLConf.js @@ -245,7 +245,7 @@ export const getConfig = (req, res, next) => { if (jsonConfig['Application Options'] && jsonConfig['Application Options'].color) { jsonConfig['Application Options'].color = '#' + jsonConfig['Application Options'].color; } - if (req.session.selectedNode.ln_implementation === 'ECL' && !jsonConfig['eclair.api.password']) { + if (req.params.nodeType === 'ln' && req.session.selectedNode.ln_implementation === 'ECL' && !jsonConfig['eclair.api.password']) { fileFormat = 'HOCON'; jsonConfig = parseHocon(data); } diff --git a/frontend/index.html b/frontend/index.html index cfd46d33..6fbbab71 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -13,6 +13,6 @@