Spaces:
Running
Running
Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -62,12 +62,12 @@
|
|
| 62 |
}
|
| 63 |
|
| 64 |
async function all() {
|
| 65 |
-
const res = await fetch('/all');
|
| 66 |
document.getElementById('output').textContent = JSON.stringify(await res.json(), null, 2);
|
| 67 |
}
|
| 68 |
|
| 69 |
async function backup() {
|
| 70 |
-
const res = await fetch('/backup');
|
| 71 |
document.getElementById('output').textContent = await res.text();
|
| 72 |
}
|
| 73 |
</script>
|
|
|
|
| 62 |
}
|
| 63 |
|
| 64 |
async function all() {
|
| 65 |
+
const res = await fetch('/do-all');
|
| 66 |
document.getElementById('output').textContent = JSON.stringify(await res.json(), null, 2);
|
| 67 |
}
|
| 68 |
|
| 69 |
async function backup() {
|
| 70 |
+
const res = await fetch('/do-backup');
|
| 71 |
document.getElementById('output').textContent = await res.text();
|
| 72 |
}
|
| 73 |
</script>
|