We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6bb0a commit 3ba8152Copy full SHA for 3ba8152
src/WebConnector.js
@@ -15,6 +15,7 @@ class WebConnector {
15
res.sendStatus(200);
16
process.exit(1);
17
});
18
+
19
this.express.get('/', (req, res) => {
20
var output = {};
21
Object.entries(this.devices).forEach(([id, device]) => output[id] = device.getState());
0 commit comments