From fd66bc0105002b107dab1524cec2a702822834f2 Mon Sep 17 00:00:00 2001 From: Shiv Bhonde Date: Fri, 19 Apr 2024 20:31:57 +0530 Subject: [PATCH] remove https:// from heimdall url --- packages/nextjs/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/pages/index.tsx b/packages/nextjs/pages/index.tsx index 6bb9186a..708bf13e 100644 --- a/packages/nextjs/pages/index.tsx +++ b/packages/nextjs/pages/index.tsx @@ -133,7 +133,7 @@ const Home: NextPage = () => { const fetchAbiFromHeimdall = async (contractAddress: string) => { setIsFetchingAbi(true); try { - const response = await fetch(`https://${process.env.NEXT_PUBLIC_HEIMDALL_URL}/${network}/${contractAddress}`); + const response = await fetch(`${process.env.NEXT_PUBLIC_HEIMDALL_URL}/${network}/${contractAddress}`); const abi = await response.json(); if (abi.length === 0) { notification.error("Failed to fetch ABI from Heimdall. Please try again or enter ABI manually.");