From 30aac94468c22cc89eb1269d7868ee7a862091c4 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 19 Mar 2024 17:23:35 -0400 Subject: [PATCH] fix: update AllowedHeaders and add Authorization --- api/account/account.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/account/account.go b/api/account/account.go index 1892865..cfc53d7 100644 --- a/api/account/account.go +++ b/api/account/account.go @@ -417,6 +417,7 @@ func (a *AccountAPI) Routes() (*httprouter.Router, error) { return true }, AllowedMethods: []string{"GET", "POST", "DELETE"}, + AllowedHeaders: []string{"Authorization"}, }) corsOptionsHandler := func(c jape.Context) {