From 39b4977d52f7c822624897df9453d03cca6f9948 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 3 Feb 2024 19:59:43 -0500 Subject: [PATCH] fix: need to allow Expires through cors --- api/s5/s5.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/s5/s5.go b/api/s5/s5.go index 170325c..85224a5 100644 --- a/api/s5/s5.go +++ b/api/s5/s5.go @@ -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",