Skip to content

Commit 178aea4

Browse files
authored
Merge pull request #1827 from aragon/Add-SUBGRAPH_API_URL
Add SUBGRAPH_API_URL
2 parents 2a474c4 + b0737d2 commit 178aea4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/network-config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ export const networkConfigs = {
2020
nodes: {
2121
defaultEth: 'wss://mainnet.eth.aragon.network/ws',
2222
},
23-
connectGraphEndpoint:
24-
'https://gateway.thegraph.com/api/2beceb14035d698246ab171cdf757fb1/subgraphs/id/4yGHqv2uE7zDNxkZcevTMBzwzXKpMm3FGJRJ3c3r5Qw8',
23+
connectGraphEndpoint: `https://gateway.thegraph.com/api/${process.env.SUBGRAPH_API_KEY}/subgraphs/id/4yGHqv2uE7zDNxkZcevTMBzwzXKpMm3FGJRJ3c3r5Qw8`,
2524
settings: {
2625
chainId: 1,
2726
testnet: false,
@@ -174,7 +173,7 @@ export const networkConfigs = {
174173
},
175174
nodes: {
176175
defaultEth:
177-
'wss://polygon-mumbai.g.alchemy.com/v2/wgOXirpZVAKhsdwji9jzIE2rax8BsmHT',
176+
`wss://polygon-mumbai.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`,
178177
},
179178
connectGraphEndpoint: null,
180179
settings: {

0 commit comments

Comments
 (0)