wip: local portal changes (backup before disk cleanup)
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
fd.append("email", $("email").value);
|
||||
if (attachedFile) fd.append("file", attachedFile);
|
||||
|
||||
const r = await fetch("/api/submit", { method: "POST", body: fd });
|
||||
const r = await fetch("api/submit", { method: "POST", body: fd });
|
||||
if (!r.ok) throw new Error((await r.json()).detail || r.statusText);
|
||||
show("thanks");
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user