revert config
This commit is contained in:
parent
1ce103d39c
commit
26c2f0a87d
@ -1,5 +1,5 @@
|
|||||||
// Custom Classes files
|
// Custom Classes files
|
||||||
const config = fetch('/assets/config.json')
|
const config = await fetch('/assets/config.json')
|
||||||
.then(response => {
|
.then(response => {
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
throw new Error('Network response was not ok');
|
throw new Error('Network response was not ok');
|
||||||
|
@ -1,21 +1,19 @@
|
|||||||
{
|
{
|
||||||
"config": {
|
"mqtt": {
|
||||||
"mqtt": {
|
"address": "wd://broker-url:port",
|
||||||
"address": "wd://broker-url:port",
|
"subscriptions": [
|
||||||
"subscriptions": [
|
{
|
||||||
{
|
"name": "igniter",
|
||||||
"name": "igniter",
|
"topic": "hestia/status/igniter"
|
||||||
"topic": "hestia/status/igniter"
|
},
|
||||||
},
|
{
|
||||||
{
|
"name": "exhaust",
|
||||||
"name": "exhaust",
|
"topic": "hestia/status/exhaust"
|
||||||
"topic": "hestia/status/exhaust"
|
},
|
||||||
},
|
{
|
||||||
{
|
"name": "auger",
|
||||||
"name": "auger",
|
"topic": "hestia/status/auger"
|
||||||
"topic": "hestia/status/auger"
|
}
|
||||||
}
|
]
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user