fix: need to enable AllowCredentials
This commit is contained in:
parent
6b51e7196c
commit
99d47a4d9c
|
@ -183,8 +183,9 @@ func (s *S5API) Routes() (*httprouter.Router, error) {
|
|||
AllowOriginFunc: func(origin string) bool {
|
||||
return true
|
||||
},
|
||||
AllowedMethods: []string{"POST"},
|
||||
AllowedHeaders: []string{"Authorization", "Content-Type"},
|
||||
AllowedMethods: []string{"POST"},
|
||||
AllowedHeaders: []string{"Authorization", "Content-Type"},
|
||||
AllowCredentials: true,
|
||||
})
|
||||
|
||||
routes := map[string]jape.Handler{
|
||||
|
|
Loading…
Reference in New Issue