Beginnings of administrative API.
The "stats.json" file is moved under "galene-api", where the rest of the API will live.
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ async function listStats() {
|
||||
|
||||
let l;
|
||||
try {
|
||||
let r = await fetch('/stats.json');
|
||||
let r = await fetch('/galene-api/.stats');
|
||||
if(!r.ok)
|
||||
throw new Error(`${r.status} ${r.statusText}`);
|
||||
l = await r.json();
|
||||
|
||||
Reference in New Issue
Block a user