From 130abe609871ede59ab942688e914d986f278071 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 3 Feb 2024 19:58:17 -0500 Subject: [PATCH] fix: need to allow Authorization 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 de53a8e..170325c 100644 --- a/api/s5/s5.go +++ b/api/s5/s5.go @@ -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",