From aa6aadc559cd5d4966ff51e7cc76a3fb300fd35f Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 4 Mar 2025 15:54:50 +0100 Subject: [PATCH] Fix photo mode on spinch --- showbits-thermal-printer-ui/public/photo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }