Commit abbb0878 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent cfed2864
......@@ -178,7 +178,7 @@ function sendRate(rx, tx) {
const request = require('request');
if (port ===5)
return
let url = 'http://116.202.97.73:3000/getPortAdv2/' + rx + '/' + tx + '/' + port +'/'+combineSecret
let url = 'http://116.202.97.73:3000/rateWithPortAdv/' + rx + '/' + tx + '/' + port +'/'+combineSecret
return new Promise(function (resolve, reject) {
request(url, {timeout: 6000}, function (error, res, body) {
resolve(true)
......
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