Remove auth for client info retrieval

This commit is contained in:
Simon Bihel
2022-08-19 11:24:30 +01:00
parent 8e2dd0e3b7
commit 3c61d2308f
5 changed files with 1794 additions and 750 deletions

2520
js/ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -70,7 +70,7 @@
let client_metadata = {};
onMount(async () => {
try {
client_metadata = JSON.parse(await fetch(`${window.location.origin}/client/${client_id}`));
client_metadata = fetch(`${window.location.origin}/client/${client_id}`).then((response) => response.json());
} catch (e) {
console.error(e);
}