event rpc and graph cors policies
This commit is contained in:
parent
d11b01d83b
commit
8d038c5869
2 changed files with 19 additions and 1 deletions
|
@ -39,6 +39,7 @@ const defaultOptions = {
|
|||
|
||||
const client = new ApolloClient({
|
||||
uri: link,
|
||||
credentials: 'same-origin',
|
||||
cache: new InMemoryCache(),
|
||||
defaultOptions
|
||||
})
|
||||
|
@ -46,6 +47,7 @@ const client = new ApolloClient({
|
|||
const registryClient = new ApolloClient({
|
||||
uri: 'https://api.thegraph.com/subgraphs/name/tornadocash/tornado-relayer-registry',
|
||||
cache: new InMemoryCache(),
|
||||
credentials: 'same-origin',
|
||||
defaultOptions
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue