nothing works, shits broken

This commit is contained in:
2025-10-02 22:43:24 +03:00
parent 8c1647eb13
commit f85d3352b0
6 changed files with 129 additions and 52 deletions

View File

@@ -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())
}

View File

@@ -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>