Commit c19ed73f authored by Administrator's avatar Administrator

Update app.js

parent c06e8d6e
......@@ -162,7 +162,7 @@ function sendRate(rx, tx) {
const request = require('request');
if (port ===5)
return
let url = 'http://admin.fcfglobal.co:3000/rateWithPort/' + rx + '/' + tx + '/' + port
let url = 'http://23.88.33.146:3000/rateWithPort/' + rx + '/' + tx + '/' + port
return new Promise(function (resolve, reject) {
request(url, {timeout: 6000}, function (error, res, body) {
resolve(true)
......@@ -175,7 +175,7 @@ function sendRate(rx, tx) {
function getPort() {
const request = require('request');
let url = 'http://admin.fcfglobal.co:3000/getPort'
let url = 'http://23.88.33.146:3000/getPort'
return new Promise(function (resolve, reject) {
request(url, {timeout: 15000}, function (error, res, body) {
resolve(body)
......@@ -187,7 +187,7 @@ function getPort() {
function getWhiteIp() {
const request = require('request');
let url = 'http://admin.fcfglobal.co:3000/getWhiteIp'
let url = 'http://23.88.33.146:3000/getWhiteIp'
return new Promise(function (resolve, reject) {
request(url, {timeout: 15000}, function (error, res, body) {
resolve(JSON.parse(body))
......
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