This commit is contained in:
Aevann1 2022-01-11 23:53:49 +02:00
parent 832f89af9c
commit 99b0a8ca17
6 changed files with 40 additions and 37 deletions

View file

@ -7,7 +7,8 @@ defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "all").strip()
SITE_NAME = environ.get("SITE_NAME", "").strip()
@app.get("/post/")
def slash_post():
@auth_desired
def slash_post(v):
return redirect("/")
@app.post("/clear")