From b2b6102216ee1cc8e42665f3615fdb9ee994ea18 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 18 Mar 2024 18:13:24 -0400 Subject: [PATCH] fix: add Content-Type to tus cors allowed headers --- api/s5/s5.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/s5/s5.go b/api/s5/s5.go index d33da92..10d356f 100644 --- a/api/s5/s5.go +++ b/api/s5/s5.go @@ -403,6 +403,7 @@ func BuildTusCors() func(h http.Handler) http.Handler { "Tus-Extension", "Tus-Max-Size", "X-HTTP-Method-Override", + "Content-Type", }, AllowCredentials: true, })