Fix photo mode on spinch
This commit is contained in:
parent
56884acb38
commit
aa6aadc559
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@
|
||||||
const start = Date.now();
|
const start = Date.now();
|
||||||
cover.classList.remove("hidden");
|
cover.classList.remove("hidden");
|
||||||
try {
|
try {
|
||||||
await fetch("/api/image", { method: "POST", body: form });
|
await fetch("api/image", { method: "POST", body: form });
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Error uploading image:", e);
|
console.error("Error uploading image:", e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue