Skip to content

Commit

Permalink
remove https:// from heimdall url
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Apr 19, 2024
1 parent 59ede15 commit fd66bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit fd66bc0

Please sign in to comment.