Spaces:
Runtime error
Runtime error
DmitrMakeev
commited on
Commit
•
7926dd2
1
Parent(s):
336718b
Update online.html
Browse files- online.html +1 -1
online.html
CHANGED
@@ -59,7 +59,7 @@
|
|
59 |
|
60 |
function fetchValues() {
|
61 |
var xhr = new XMLHttpRequest();
|
62 |
-
xhr.open("GET", "/
|
63 |
xhr.setRequestHeader("Content-Type", "application/json");
|
64 |
xhr.onreadystatechange = function () {
|
65 |
if (xhr.readyState === 4 && xhr.status === 200) {
|
|
|
59 |
|
60 |
function fetchValues() {
|
61 |
var xhr = new XMLHttpRequest();
|
62 |
+
xhr.open("GET", "/online_api", true);
|
63 |
xhr.setRequestHeader("Content-Type", "application/json");
|
64 |
xhr.onreadystatechange = function () {
|
65 |
if (xhr.readyState === 4 && xhr.status === 200) {
|