Skip to content

Commit e6c814b

Browse files
Remove query key (#817)
1 parent 3ba7f52 commit e6c814b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/pages/en/developing/developer-faqs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ By default, query responses are limited to 100 items per collection. If you want
129129
someCollection(first: 1000, skip: <number>) { ... }
130130
```
131131

132-
### 23. If my dapp frontend uses The Graph for querying, do I need to write my query key into the frontend directly? What if we pay query fees for users – will malicious users cause our query fees to be very high?
132+
### 23. If my dapp frontend uses The Graph for querying, do I need to write my API key into the frontend directly? What if we pay query fees for users – will malicious users cause our query fees to be very high?
133133

134134
Currently, the recommended approach for a dapp is to add the key to the frontend and expose it to end users. That said, you can limit that key to a hostname, like _yourdapp.io_ and subgraph. The gateway is currently being run by Edge & Node. Part of the responsibility of a gateway is to monitor for abusive behavior and block traffic from malicious clients.
135135

0 commit comments

Comments
 (0)