Add new debug endpoint

This commit is contained in:
Thomas Sileo 2018-07-16 22:24:14 +02:00
parent 11ad9ec10a
commit f44f9992c9

5
app.py
View file

@ -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")