fix: add Content-Type to tus cors allowed headers
This commit is contained in:
parent
2067c68a72
commit
b2b6102216
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue