Move admin page into API, switch to HTTP Basic Auth
This commit is contained in:
@@ -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("""
|
||||
|
||||
Reference in New Issue
Block a user