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