fix: need to allow Authorization through cors
This commit is contained in:
parent
5784afe064
commit
130abe6098
|
@ -204,6 +204,7 @@ func BuildS5TusApi(identity ed25519.PrivateKey, accounts *account.AccountService
|
|||
AllowedOrigins: []string{"*"},
|
||||
AllowedMethods: []string{"GET", "POST", "PATCH", "DELETE", "HEAD", "OPTIONS"},
|
||||
AllowedHeaders: []string{
|
||||
"Authorization",
|
||||
"Upload-Offset",
|
||||
"X-Requested-With",
|
||||
"Tus-Version",
|
||||
|
|
Loading…
Reference in New Issue