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