diff --git a/index2.html b/index2.html index 75c4eaf..41e0238 100644 --- a/index2.html +++ b/index2.html @@ -247,7 +247,7 @@ if (tokenForm['tokenName'].value.slice(0,1) == 'F' && tokenForm['tokenName'].value.length == 34){ - fetch(`https://ranchimallflo-api.duckdns.org/api/v1.0/gettokeninfo?floaddress=${tokenForm["tokenName"].value}`) + fetch(`https://ranchimallflo.duckdns.org/api/v1.0/gettokeninfo?floaddress=${tokenForm["tokenName"].value}`) .then(response => response.json()) .then((data) => { @@ -258,7 +258,7 @@ } else{ // Entered data is contract name - fetch(`https://ranchimallflo-api.duckdns.org/api/v1.0/gettokeninfo?token=${tokenForm["tokenName"].value}`) + fetch(`https://ranchimallflo.duckdns.org/api/v1.0/gettokeninfo?token=${tokenForm["tokenName"].value}`) .then(response => response.json()) .then((data) => { @@ -275,7 +275,7 @@ console.log(contractForm['addressName'].value); if (contractForm['addressName'].value.slice(0,1) == 'F' && contractForm['addressName'].value.length == 34){ - fetch(`https://ranchimallflo-api.duckdns.org/api/v1.0/getparticipantdetails?floaddress=${contractForm["addressName"].value}`) + fetch(`https://ranchimallflo.duckdns.org/api/v1.0/getparticipantdetails?floaddress=${contractForm["addressName"].value}`) .then(response => response.json()) .then((data) => { @@ -284,7 +284,7 @@ } else{ // Entered data is contract name - fetch(`https://ranchimallflo-api.duckdns.org/api/v1.0/getsmartContractlist?contractName=${contractForm["addressName"].value}`) + fetch(`https://ranchimallflo.duckdns.org/api/v1.0/getsmartContractlist?contractName=${contractForm["addressName"].value}`) .then(response => response.json()) .then((data) => { showContractParticipantDetails(data); @@ -387,7 +387,7 @@ } function getSmartContractInfo(name,contractAddress){ - fetch(`https://ranchimallflo-api.duckdns.org/api/v1.0/getsmartContractinfo?name=${name}&contractAddress=${contractAddress}`) + fetch(`https://ranchimallflo.duckdns.org/api/v1.0/getsmartContractinfo?name=${name}&contractAddress=${contractAddress}`) .then(response => response.json()) .then((data) => { showSmartContractInfo(data); @@ -401,7 +401,7 @@ } function getSmartContractList(){ - fetch('https://ranchimallflo-api.duckdns.org/api/v1.0/getsmartContractlist') + fetch('https://ranchimallflo.duckdns.org/api/v1.0/getsmartContractlist') .then(response => response.json()) .then((data) => { showSmartContractList(data); @@ -418,7 +418,7 @@ } function getTokenList(){ - fetch('https://ranchimallflo-api.duckdns.org/api/v1.0/gettokenlist') + fetch('https://ranchimallflo.duckdns.org/api/v1.0/gettokenlist') .then(response => response.json()) .then((data) => { showTokenList(data);