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