Implement administrative API.

This commit is contained in:
Juliusz Chroboczek
2024-04-09 16:53:03 +02:00
parent 5753c46910
commit cc38c53075
3 changed files with 706 additions and 19 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ async function listStats() {
let l;
try {
let r = await fetch('/galene-api/.stats');
let r = await fetch('/galene-api/0/.stats');
if(!r.ok)
throw new Error(`${r.status} ${r.statusText}`);
l = await r.json();