diff --git a/app.py b/app.py index 834150f..eebdbc6 100644 --- a/app.py +++ b/app.py @@ -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")