fix: update AllowedHeaders and add Authorization
This commit is contained in:
parent
79425b76fc
commit
30aac94468
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue