From 04fd2ccbe4b2990f17dfe38a0c9bb9a2134c554b Mon Sep 17 00:00:00 2001 From: ekzyis Date: Wed, 16 Oct 2024 03:03:51 +0200 Subject: [PATCH] Fix Content-Type header --- upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.go b/upload.go index ca84bf7..2cdf72d 100644 --- a/upload.go +++ b/upload.go @@ -86,7 +86,7 @@ func (c *Client) UploadImage(img *image.RGBA) (string, error) { } for k, v := range map[string]string{ - "Content-type": type_, + "Content-Type": type_, "Cache-Control": "max-age=31536000", "acl": "public-read", } {