mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 10:46:25 +03:00
docs: mention disable CORS environment variable in config-examples.mdx
GITHUB_PR_NUMBER: 9882 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9882 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10305 Co-authored-by: andoks <5228+andoks@users.noreply.github.com> Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com> GitOrigin-RevId: c2eeaeacceb262d1c2496b513694d12971b2a891
This commit is contained in:
parent
0aa5e832e5
commit
f44a3870dd
@ -136,9 +136,10 @@ have to add them separately. E.g. `https://*.foo.com` doesn't include
|
||||
:::
|
||||
|
||||
You can tell Hasura to disable handling CORS entirely via the
|
||||
`--disable-cors` flag. Hasura will not respond with CORS headers. You
|
||||
can use this option if you're already handling CORS on a reverse proxy
|
||||
etc.
|
||||
`--disable-cors` flag or the `HASURA_GRAPHQL_DISABLE_CORS`
|
||||
[environment variable](/deployment/graphql-engine-flags/reference.mdx#disable-cors).
|
||||
Hasura will not respond with CORS headers. You can use this
|
||||
option if you're already handling CORS on a reverse proxy etc.
|
||||
|
||||
## Run the Console offline _(i.e load console assets from server instead of CDN)_ {#console-assets-on-server}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user