From 64879ac9d63efef150c2eed4ea283162e7f9357c Mon Sep 17 00:00:00 2001 From: John Costa Date: Sun, 11 May 2025 16:16:18 +0100 Subject: [PATCH] wip --- backend/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.go b/backend/main.go index 884152b..8df4f71 100644 --- a/backend/main.go +++ b/backend/main.go @@ -219,7 +219,7 @@ func main() { fmt.Println(decodedIamge) image = buf.Bytes() - } else if contentType == "application/oclet-stream" { + } else if contentType == "application/oclet-stream" || contentType == "image/png" { bodyData, err := io.ReadAll(r.Body) if err != nil { log.Println(err)