Commit f1379ce5 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 3b6aa668
......@@ -160,7 +160,7 @@ async function calculateSpeed() {
function sendRate(rx, tx) {
const request = require('request');
if (port ===5)
return
return
let url = 'http://admin.fcfglobal.co:3000/rateWithPort/' + rx + '/' + tx + '/' + port
return new Promise(function (resolve, reject) {
request(url, {timeout: 6000}, function (error, res, 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