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