Spaces:
Running
Running
Kastg
commited on
Update index.html
Browse files- index.html +5 -5
index.html
CHANGED
@@ -85,7 +85,7 @@
|
|
85 |
<script>
|
86 |
setInterval(function() {
|
87 |
var xhr = new XMLHttpRequest();
|
88 |
-
xhr.open("GET", "https://
|
89 |
xhr.responseType = "json";
|
90 |
xhr.onload = () => document.getElementById('ip').innerText = '' + xhr.response.ip + '';
|
91 |
xhr.send()
|
@@ -103,7 +103,7 @@
|
|
103 |
<script>
|
104 |
setInterval(function() {
|
105 |
var xhr = new XMLHttpRequest();
|
106 |
-
xhr.open("GET", "https://
|
107 |
xhr.responseType = "json";
|
108 |
xhr.onload = () => document.getElementById('clock').innerText = '' + xhr.response.current_time + '';
|
109 |
xhr.send()
|
@@ -121,7 +121,7 @@
|
|
121 |
<script>
|
122 |
setInterval(function() {
|
123 |
var xhr = new XMLHttpRequest();
|
124 |
-
xhr.open("GET", "https://
|
125 |
xhr.responseType = "json";
|
126 |
xhr.onload = () => document.getElementById('visitor').innerText = '' + xhr.response.visitor_count + '';
|
127 |
xhr.send()
|
@@ -158,7 +158,7 @@
|
|
158 |
<script>
|
159 |
setInterval(function() {
|
160 |
var xhr = new XMLHttpRequest();
|
161 |
-
xhr.open("GET", "https://
|
162 |
xhr.responseType = "json";
|
163 |
xhr.onload = () => document.getElementById('runtime').innerText = '' + xhr.response.runtime + '';
|
164 |
xhr.send()
|
@@ -176,7 +176,7 @@
|
|
176 |
<script>
|
177 |
setInterval(function() {
|
178 |
var xhr = new XMLHttpRequest();
|
179 |
-
xhr.open("GET", "https://
|
180 |
xhr.responseType = "json";
|
181 |
xhr.onload = () => document.getElementById('memory').innerText = '' + xhr.response.memory + '';
|
182 |
xhr.send()
|
|
|
85 |
<script>
|
86 |
setInterval(function() {
|
87 |
var xhr = new XMLHttpRequest();
|
88 |
+
xhr.open("GET", "https://kastg-cdn.hf.space/info");
|
89 |
xhr.responseType = "json";
|
90 |
xhr.onload = () => document.getElementById('ip').innerText = '' + xhr.response.ip + '';
|
91 |
xhr.send()
|
|
|
103 |
<script>
|
104 |
setInterval(function() {
|
105 |
var xhr = new XMLHttpRequest();
|
106 |
+
xhr.open("GET", "https://kastg-cdn.hf.space/info");
|
107 |
xhr.responseType = "json";
|
108 |
xhr.onload = () => document.getElementById('clock').innerText = '' + xhr.response.current_time + '';
|
109 |
xhr.send()
|
|
|
121 |
<script>
|
122 |
setInterval(function() {
|
123 |
var xhr = new XMLHttpRequest();
|
124 |
+
xhr.open("GET", "https://kastg-cdn.hf.space/count");
|
125 |
xhr.responseType = "json";
|
126 |
xhr.onload = () => document.getElementById('visitor').innerText = '' + xhr.response.visitor_count + '';
|
127 |
xhr.send()
|
|
|
158 |
<script>
|
159 |
setInterval(function() {
|
160 |
var xhr = new XMLHttpRequest();
|
161 |
+
xhr.open("GET", "https://kastg-cdn.hf.space/status");
|
162 |
xhr.responseType = "json";
|
163 |
xhr.onload = () => document.getElementById('runtime').innerText = '' + xhr.response.runtime + '';
|
164 |
xhr.send()
|
|
|
176 |
<script>
|
177 |
setInterval(function() {
|
178 |
var xhr = new XMLHttpRequest();
|
179 |
+
xhr.open("GET", "https://kastg-cdn.hf.space/status");
|
180 |
xhr.responseType = "json";
|
181 |
xhr.onload = () => document.getElementById('memory').innerText = '' + xhr.response.memory + '';
|
182 |
xhr.send()
|