From b85bd95a3e661234a1ddc10f44506eed8a89484b Mon Sep 17 00:00:00 2001 From: MyHomeMyData Date: Mon, 30 Sep 2024 15:35:20 +0200 Subject: [PATCH] Removed obsolete value port from io-package.json --- io-package.json | 1 - lib/web.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/io-package.json b/io-package.json index 639c8a1..c9f9aee 100644 --- a/io-package.json +++ b/io-package.json @@ -111,7 +111,6 @@ ] }, "native": { - "port": "3100", "webInstance": "*" }, "objects": [], diff --git a/lib/web.js b/lib/web.js index ef3f252..c69010d 100644 --- a/lib/web.js +++ b/lib/web.js @@ -30,8 +30,8 @@ class ExtensionFlexcharts { this.adapter = adapter; - //this.adapter.log.debug(`this.path: /${this.path}`); this.adapter.log.info(`Install extension on /${this.name}`); + this.adapter.setState('info.connection', true, true); this.app.use(`/${this.name}`, (req, res) => { //res.setHeader('Content-type', 'text/html');