diff --git a/showbits-thermal-printer-ui/public/photo.html b/showbits-thermal-printer-ui/public/photo.html index 968cf5a..2e2ad6f 100644 --- a/showbits-thermal-printer-ui/public/photo.html +++ b/showbits-thermal-printer-ui/public/photo.html @@ -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); }