Changing url to testnet
This commit is contained in:
parent
dbf7f88d47
commit
debf60226c
12
index.html
12
index.html
@ -61,9 +61,14 @@
|
|||||||
|
|
||||||
<!-- Set urls for token and flo Apis -->
|
<!-- Set urls for token and flo Apis -->
|
||||||
<script>
|
<script>
|
||||||
let floGlobals = {}
|
const floGlobals = {
|
||||||
tokenApiUrl = 'https://ranchimallflo-test.ranchimall.net'
|
blockchain: "FLO_TEST",
|
||||||
floApiUrl = 'https://flosight.ranchimall.net'
|
tokenApiUrl: 'https://ranchimallflo-testing.duckdns.org',
|
||||||
|
tokenURL: 'https://ranchimallflo-testing.duckdns.org/',
|
||||||
|
expirationDays: 60,
|
||||||
|
}
|
||||||
|
tokenApiUrl = 'https://ranchimallflo-testing.duckdns.org'
|
||||||
|
floApiUrl = 'https://flosight-testnet.ranchimall.net'
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
/*jshint esversion: 8 */
|
/*jshint esversion: 8 */
|
||||||
@ -1701,6 +1706,7 @@
|
|||||||
function categorizeText(text) {
|
function categorizeText(text) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
// check if text have only numbers
|
// check if text have only numbers
|
||||||
|
debugger
|
||||||
if (/^\d+$/.test(text)) {
|
if (/^\d+$/.test(text)) {
|
||||||
//console.log('this is a block number');
|
//console.log('this is a block number');
|
||||||
location.href = `#/block/${text}`
|
location.href = `#/block/${text}`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user