You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Dune Echo Proxy
1
+
# Dune Sim Proxy
2
2
3
-
This repo hosts a one-click-deploy Cloudflare worker that proxies requests to Dune Echo. The proxy will allow you to keep your API key
3
+
This repo hosts a one-click-deploy Cloudflare worker that proxies requests to Dune Sim. The proxy will allow you to keep your API key
4
4
hidden from public requests made by clients. You will need both a [Dune](https://dune.com) account and a [Cloudflare](https://cloudflare.com) account to deploy this. Dune offers 10RPS for free, and Cloudflare workers can execute 100k invocations each day for free. Most projects can easily get started within these free tiers.
5
5
6
6
# Setup
@@ -26,8 +26,7 @@ You can now use your worker URL as an the base Dune API endpoint in all SDK and
26
26
27
27
# Additional Security Steps
28
28
This implementation is intentionally left in a less-than-ideal security state to facilitate easy deployment by anyone. If you would like to
29
-
lock down your Dune Echo Proxy further, consider the following steps after you have successfully deployed the worker:
30
-
29
+
lock down your Dune Sim Proxy further, consider the following steps after you have successfully deployed the worker:
31
30
32
31
* Update the `Access-Control-Allow-Origin` header by adding a new variable with the key name `CORS_ALLOW_ORIGIN` to contain the host that your requests are coming from (usually your client application). For example, if you wanted to allow requests from `https://example.com`, you would change the header to `https://example.com`. To support multiple domains, set `CORS_ALLOW_ORIGIN` to a comma separated list of domains (e.g. `https://example.com,https://beta.example.com`).
33
-
*[Cloudflare Web Application Firewall (WAF)](https://www.cloudflare.com/lp/ppc/waf-x/) - You can configure the WAF to inspect requests and allow/deny based on your own business logic.
32
+
*[Cloudflare Web Application Firewall (WAF)](https://www.cloudflare.com/lp/ppc/waf-x/) - You can configure the WAF to inspect requests and allow/deny based on your own business logic.
0 commit comments