Commit 8f30e41c by sikang

bug fix

parent 7f1efcba
......@@ -154,8 +154,8 @@ class Function:
harvest = gateway['harvester'][0].replace("https://","")
replaces = {
"base_url": "\"%s\"" % gateway['rest'][0],
"harvest_ip": "\"%s\"" % harvest.split(":")[1],
"harvest_port": "%s" % harvest.split(":")[2],
"harvest_ip": "\"%s\"" % harvest.split(":")[0],
"harvest_port": "%s" % harvest.split(":")[1],
"gateway_ip": "\"%s\"" % ip,
"repayment_h5": "\"%s\"" % gateway['repay'][0],
"admin_host": "\"%s\"" % gateway['admin'][0],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment