Skip to content

Commit

Permalink
Maintain info.connection
Browse files Browse the repository at this point in the history
  • Loading branch information
MyHomeMyData committed Jul 27, 2024
1 parent 40972d1 commit d6f2e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ class Flexcharts extends utils.Adapter {
// Start server
server.listen({port: this.config.port}, () => {
this.log.info(`Server started on localhost:${this.config.port}`);
this.setState('info.connection', true, true);
});
}

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"main.js",
"echarts.html",
"echarts.js.map",
"echarts.js",
"index.html",
"favicon.ico"
],
Expand Down

0 comments on commit d6f2e8c

Please sign in to comment.