how allow cors * in node? #1299
Unanswered
dzmitry-lahoda
asked this question in
Q&A
Replies: 4 comments 2 replies
|
Hi @dzmitry-lahoda, cors is only enabled for the query service. The node should not be made public so making requests shouldn't require cors |
2 replies
|
hm, so it is not cors here https://github.com/subquery/subql/blob/main/packages/query/src/yargs.ts |
0 replies
| oh it may be default |
0 replies
|
i get a cors error for localhost graphql request. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
when I start node, what parameter or env var to pass into subql node to make it accept requests from any origin domain?
need to access subql running in codespace
All reactions