fix: need to enable AllowCredentials

This commit is contained in:
Derrick Hammer 2024-03-18 14:19:34 -04:00
parent 6b51e7196c
commit 99d47a4d9c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 2 deletions

View File

@ -185,6 +185,7 @@ func (s *S5API) Routes() (*httprouter.Router, error) {
},
AllowedMethods: []string{"POST"},
AllowedHeaders: []string{"Authorization", "Content-Type"},
AllowCredentials: true,
})
routes := map[string]jape.Handler{