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