From f44f9992c9ecd319d643eb4faf01dead1680d717 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Mon, 16 Jul 2018 22:24:14 +0200 Subject: [PATCH] Add new debug endpoint --- app.py | 5 +++++ 1 file changed, 5 insertions(+) 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")