From 61f0680866d27f2bfc77d0742f9bca7778b12df7 Mon Sep 17 00:00:00 2001 From: DhananjayPurohit Date: Fri, 9 Aug 2024 18:43:02 +0530 Subject: [PATCH] fix: host for node server for web client --- clients/tests/web/test-utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/tests/web/test-utils.js b/clients/tests/web/test-utils.js index 7ea3f9b8..88ae5c9d 100644 --- a/clients/tests/web/test-utils.js +++ b/clients/tests/web/test-utils.js @@ -5,7 +5,7 @@ const generateBlocks = async (blocks) => { blocks }; - const url = `http://localhost:3000/generate_blocks`; + const url = `http://0.0.0.0:3000/generate_blocks`; let response = await axios.post(url, body); @@ -21,7 +21,7 @@ const depositCoin = async (address, amount) => { amount }; - const url = `http://localhost:3000/deposit_amount`; + const url = `http://0.0.0.0:3000/deposit_amount`; let response = await axios.post(url, body);