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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user