mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
cli: add hasura-collaborator-token and hasura-client-name to allowed headers (#4414)
This commit is contained in:
parent
dc31b835e1
commit
f073243283
@ -121,6 +121,8 @@ func allowCors() gin.HandlerFunc {
|
||||
config.AddAllowHeaders("X-Hasura-User-Id")
|
||||
config.AddAllowHeaders(XHasuraAccessKey)
|
||||
config.AddAllowHeaders(XHasuraAdminSecret)
|
||||
config.AddAllowHeaders("hasura-client-name")
|
||||
config.AddAllowHeaders("hasura-collaborator-token")
|
||||
config.AddAllowHeaders("X-Hasura-Role")
|
||||
config.AddAllowHeaders("X-Hasura-Allowed-Roles")
|
||||
config.AddAllowMethods("DELETE")
|
||||
|
Loading…
Reference in New Issue
Block a user