nothing works, shits broken
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
async function get_config() {
|
||||
response = await fetch("/config", {method: "GET", headers: {"Accept": "application/json"}})
|
||||
response = await fetch("/config?json", {method: "GET", headers: {"Accept": "application/json"}})
|
||||
if (! response.ok){
|
||||
throw Error("config data request error: " + await response.text())
|
||||
}
|
||||
|
||||
@@ -16,6 +16,14 @@
|
||||
</div>
|
||||
|
||||
<div class="container" display="block">
|
||||
<div class="status-block">
|
||||
<div class="status-block configuration">
|
||||
<h2>Configuration:</h2>
|
||||
</div>
|
||||
<div class="status-block connection">
|
||||
<h2>Connection:</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user