From b3d786ef777647724f77043fbd34c186d2b00ca0 Mon Sep 17 00:00:00 2001 From: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:48:24 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Byron Gravenorst <50852695+bgravenorst@users.noreply.github.com> --- docs/whats-new.md | 2 +- .../use-infura-as-a-backup-for-your-node.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/whats-new.md b/docs/whats-new.md index 0b36b955ec1..435d9e91dda 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -11,7 +11,7 @@ of the [MetaMask developer page](https://metamask.io/developer/). ## September 2024 -- Updated [Services credit cost](/services/get-started/pricing/credit-cost/#ethereum) for `eth_sendRawTransaction`. +- Updated [credit cost](/services/get-started/pricing/credit-cost/#ethereum) for `eth_sendRawTransaction`. ([#1581](https://github.com/MetaMask/metamask-docs/pull/1581)) - Documented WebSocket support for [Base](/services/reference/base), [Blast](/services/reference/blast), [Celo](/services/reference/celo), diff --git a/services/tutorials/ethereum/use-infura-as-a-reverse-proxy/use-infura-as-a-backup-for-your-node.md b/services/tutorials/ethereum/use-infura-as-a-reverse-proxy/use-infura-as-a-backup-for-your-node.md index 4c845f5e81e..5c1b5723862 100644 --- a/services/tutorials/ethereum/use-infura-as-a-reverse-proxy/use-infura-as-a-backup-for-your-node.md +++ b/services/tutorials/ethereum/use-infura-as-a-reverse-proxy/use-infura-as-a-backup-for-your-node.md @@ -108,7 +108,7 @@ reverse_proxy https://localhost:9000 https://sepolia.infura.io { Ensure you replace `` with the API key for your Ethereum project. In this example, the reverse proxy retrieves information from `localhost:9000`, and redirects it to `localhost:3000`. -If `localhost:9000` stops responding, Caddy will move on to retrieve information from the Infura Sepolia endpoint. +If `localhost:9000` stops responding, Caddy will move on to retrieve information from the Sepolia endpoint. Using `header_up Host` allows you to include your API key to both the Sepolia and localhost endpoints. ### 6. Run the reverse proxy @@ -145,7 +145,7 @@ Reverse proxy success! The success message from `main.js` should display, because you've asked the reverse proxy to go to `localhost:9000` first. -If you close the Node.js server and send the request again, you should get the result from the Infura Sepolia node: +If you close the Node.js server and send the request again, you should get the result from the Sepolia node: @@ -167,4 +167,4 @@ curl http://localhost:3000/v3/ \ -The reverse proxy ignores the localhost node, since it's not functioning, and falls back to the Infura Sepolia node. +The reverse proxy ignores the localhost node, since it's not functioning, and falls back to the Sepolia node.