Fix photo mode on spinch

This commit is contained in:
Joscha 2025-03-04 15:54:50 +01:00
parent 56884acb38
commit aa6aadc559

View file

@ -164,7 +164,7 @@
const start = Date.now();
cover.classList.remove("hidden");
try {
await fetch("/api/image", { method: "POST", body: form });
await fetch("api/image", { method: "POST", body: form });
} catch (e) {
console.error("Error uploading image:", e);
}