mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 11:14:28 +00:00
Add new debug endpoint
This commit is contained in:
parent
11ad9ec10a
commit
f44f9992c9
1 changed files with 5 additions and 0 deletions
5
app.py
5
app.py
|
@ -566,6 +566,11 @@ def u2f_register():
|
||||||
|
|
||||||
#######
|
#######
|
||||||
# Activity pub routes
|
# Activity pub routes
|
||||||
|
@app.route("/drop_cache")
|
||||||
|
@login_required
|
||||||
|
def drop_cache():
|
||||||
|
DB.actors.drop()
|
||||||
|
return "Done"
|
||||||
|
|
||||||
|
|
||||||
@app.route("/migration1_step1")
|
@app.route("/migration1_step1")
|
||||||
|
|
Loading…
Reference in a new issue