kopia lustrzana https://git.sr.ht/~tsileo/microblog.pub
Add new debug endpoint
rodzic
11ad9ec10a
commit
f44f9992c9
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")
|
||||||
|
|
Ładowanie…
Reference in New Issue