Move admin page into API, switch to HTTP Basic Auth

This commit is contained in:
2026-04-27 19:07:23 +02:00
parent 5bb864f34f
commit 6479f74d50
4 changed files with 165 additions and 11 deletions

View File

@@ -14,6 +14,8 @@ def get_db():
conn.row_factory = sqlite3.Row
return conn
# your-very-long-random-admin-key
def init_db():
conn = get_db()
conn.execute("""