restored plejd.json path
This commit is contained in:
parent
0c8e502b2f
commit
da91a839ec
1 changed files with 1 additions and 2 deletions
|
|
@ -4,8 +4,7 @@ const fs = require('fs');
|
|||
const PlejdService = require('./ble');
|
||||
|
||||
async function main() {
|
||||
//const rawData = fs.readFileSync('/data/plejd.json');
|
||||
const rawData = fs.readFileSync('plejd.json');
|
||||
const rawData = fs.readFileSync('/data/plejd.json');
|
||||
const config = JSON.parse(rawData);
|
||||
|
||||
const plejdApi = new api.PlejdApi(config.site, config.username, config.password);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue