diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-04-07 18:49:48 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-04-07 18:49:48 +0100 |
| commit | 24b4a39fce61dd9bd8ab7757f3bbda0636adc8c9 (patch) | |
| tree | b4ce61e16a66c2a43e40b8f78cc8431af7ef2d3a /package.json | |
| parent | 954aff49707738e660e92e0418c31b1ec78a85a8 (diff) | |
| download | tplink-energy-monitor-24b4a39fce61dd9bd8ab7757f3bbda0636adc8c9.tar.xz tplink-energy-monitor-24b4a39fce61dd9bd8ab7757f3bbda0636adc8c9.zip | |
Switch from http polling to data push via websockets
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index 41b6569..13cd12e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "name": "James Barnett" }, "scripts": { - "start": "node ./bin/www", + "start": "node ./app.js", "dist": "pkg . --out-path ./dist" }, "dependencies": { @@ -25,7 +25,7 @@ "pkg": "4.3.1" }, "bin" : { - "tplink-monitor": "./bin/www" + "tplink-monitor": "./app.js" }, "pkg": { "scripts": "node_modules/hbs/lib/hbs.js", |