fix: add Content-Type to tus cors allowed headers

This commit is contained in:
Derrick Hammer 2024-03-18 18:13:24 -04:00
parent 2067c68a72
commit b2b6102216
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ func BuildTusCors() func(h http.Handler) http.Handler {
"Tus-Extension", "Tus-Extension",
"Tus-Max-Size", "Tus-Max-Size",
"X-HTTP-Method-Override", "X-HTTP-Method-Override",
"Content-Type",
}, },
AllowCredentials: true, AllowCredentials: true,
}) })