Pepguy commited on
Commit
31389fd
·
verified ·
1 Parent(s): b3ca954

Update index.html

Browse files
Files changed (1) hide show
  1. 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>