From 638debc5644f196218f410d1f373cf4a46299be3 Mon Sep 17 00:00:00 2001 From: Sven Date: Mon, 30 Dec 2024 00:37:02 +0800 Subject: [PATCH] fix faucet bug (#3122) --- infra/rooch-portal-v2/src/sections/faucet/view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/rooch-portal-v2/src/sections/faucet/view.tsx b/infra/rooch-portal-v2/src/sections/faucet/view.tsx index 5b5d5324b5..c6d49ab63a 100644 --- a/infra/rooch-portal-v2/src/sections/faucet/view.tsx +++ b/infra/rooch-portal-v2/src/sections/faucet/view.tsx @@ -126,7 +126,7 @@ export function FaucetView({ address }: { address: string }) { const payload = JSON.stringify({ claimer: viewAddress, }); - const response = await fetch(`${faucet}/faucet`, { + const response = await fetch(`${faucet.url}/faucet`, { method: 'POST', headers: { 'Content-Type': 'application/json',