Skip to content

Commit

Permalink
Add AP node
Browse files Browse the repository at this point in the history
  • Loading branch information
mike76-dev committed Mar 23, 2024
1 parent a23af4d commit cf10a14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web-demo/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const apiBaseURL = '/hostscore/api';
var locations = ['eu', 'us'];
var locations = ['eu', 'us', 'ap'];
var hosts = [];
var moreHosts = false;
var offset = 0;
Expand Down Expand Up @@ -115,8 +115,6 @@ function browseHost(obj) {
list.classList.add('hidden');
let latencies = [];
let benchmarks = [];
let from = new Date();
from.setDate(from.getDate() - 1);
fetch(apiBaseURL + '/scans?network=' + network + '&host=' + key +
'&number=48&success=true', options)
.then(response => response.json())
Expand Down

0 comments on commit cf10a14

Please sign in to comment.