diff --git a/index.html b/index.html index 35f7fb4..5b340d8 100644 --- a/index.html +++ b/index.html @@ -9,6 +9,7 @@ +
@@ -64,7 +65,7 @@ function hitPage() { var xhr = new XMLHttpRequest(); - xhr.open("GET", "https://api.countapi.xyz/hit/nov15.altweb.me/test-hit-page"); + xhr.open("GET", "https://api.countapi.xyz/hit/nov15.altweb.me/hit-page"); xhr.responseType = "json"; xhr.onload = function () { console.log(this.response.value); @@ -74,7 +75,7 @@ function getInPersonCount() { var xhr = new XMLHttpRequest(); - xhr.open("GET", "https://api.countapi.xyz/get/nov15.altweb.me/test-in-person"); + xhr.open("GET", "https://api.countapi.xyz/get/nov15.altweb.me/in-person"); xhr.responseType = "json"; xhr.onload = function () { document.getElementById('in-person-count').innerText = this.response.value; @@ -84,7 +85,7 @@ function getRemoteCount() { var xhr = new XMLHttpRequest(); - xhr.open("GET", "https://api.countapi.xyz/get/nov15.altweb.me/test-remote"); + xhr.open("GET", "https://api.countapi.xyz/get/nov15.altweb.me/remote"); xhr.responseType = "json"; xhr.onload = function () { document.getElementById('remote-count').innerText = this.response.value; @@ -94,7 +95,7 @@ function inPersonClicked() { var xhr = new XMLHttpRequest(); - xhr.open("GET", "https://api.countapi.xyz/hit/nov15.altweb.me/test-in-person"); + xhr.open("GET", "https://api.countapi.xyz/hit/nov15.altweb.me/in-person"); xhr.responseType = "json"; xhr.onload = function () { document.getElementById('in-person-click').remove(); @@ -106,7 +107,7 @@ function remoteClicked() { var xhr = new XMLHttpRequest(); - xhr.open("GET", "https://api.countapi.xyz/hit/nov15.altweb.me/test-remote"); + xhr.open("GET", "https://api.countapi.xyz/hit/nov15.altweb.me/remote"); xhr.responseType = "json"; xhr.onload = function () { document.getElementById('remote-click').remove();