Add new debug endpoint

master
Thomas Sileo 2018-07-16 22:24:14 +02:00
rodzic 11ad9ec10a
commit f44f9992c9
1 zmienionych plików z 5 dodań i 0 usunięć

5
app.py
Wyświetl plik

@ -566,6 +566,11 @@ def u2f_register():
#######
# Activity pub routes
@app.route("/drop_cache")
@login_required
def drop_cache():
DB.actors.drop()
return "Done"
@app.route("/migration1_step1")