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 |
Beta Was this translation helpful? Give feedback.
2 replies
-
hm, so it is not cors here https://github.com/subquery/subql/blob/main/packages/query/src/yargs.ts |
Beta Was this translation helpful? Give feedback.
0 replies
-
oh it may be default |
Beta Was this translation helpful? Give feedback.
0 replies
-
i get a cors error for localhost graphql request. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions