This commit is contained in:
Aevann1 2021-11-27 19:29:43 +02:00
parent 448d30754f
commit bd45f8e9d6
3 changed files with 8 additions and 26 deletions

View file

@ -331,8 +331,7 @@ def unsubscribe(v, post_id):
@app.get("/report_bugs")
@auth_required
def reportbugs(v):
if request.host == 'rdrama.net': return redirect('https://rdrama.net/post/18459')
return render_template("reportbugs.html", v=v)
return redirect(f'https://rdrama.net/post/{BUG_THREAD}')
@app.post("/@<username>/message")
@limiter.limit("1/second")