From 3e4135afb0f5d8802409275d53260d036c1f23e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?France=CC=81=20Wilke?= <francewilke@gmail.com> Date: Mon, 31 Jan 2022 20:17:26 +0200 Subject: [PATCH] Add MIMETypePNG --- s3/s3.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/s3/s3.go b/s3/s3.go index f614117..ddae2b0 100644 --- a/s3/s3.go +++ b/s3/s3.go @@ -54,6 +54,9 @@ const ( // MIMETypeImage defines the constant for the Image MIME type. MIMETypeImage MIMEType = "image/*" + // MIMETypePNG defines the constant for the PNG MIME type. + MIMETypePNG MIMEType = "image/png" + // MIMETypeDefault defines the constant for the default MIME type. MIMETypeDefault MIMEType = "application/octet-stream" -- GitLab