1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Peccato, ci speravo

This commit is contained in:
Steffo 2018-07-21 22:50:49 +02:00
parent c98baf473a
commit 1e00f04d0b
4 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{% extends '../base.html' %}
{% extends 'base.html' %}
{% block pagetitle %}
Bad Request

View file

@ -1,4 +1,4 @@
{% extends '../base.html' %}
{% extends 'base.html' %}
{% block pagetitle %}
Forbidden

View file

@ -1,4 +1,4 @@
{% extends '../base.html' %}
{% extends 'base.html' %}
{% block pagetitle %}
Internal Server Error

View file

@ -22,7 +22,7 @@ telegram_bot = telegram.Bot(config["Telegram"]["bot_token"])
@app.errorhandler(400)
def error_400(_=None):
return render_template("errors/400.html", config=config)
return render_template("400.html", config=config)
@app.route("/400")
@ -32,7 +32,7 @@ def page_400():
@app.errorhandler(403)
def error_403(_=None):
return render_template("errors/403.html", config=config)
return render_template("403.html", config=config)
@app.route("/403")
@ -42,7 +42,7 @@ def page_403():
@app.errorhandler(500)
def error_500(_=None):
return render_template("errors/500.html", config=config)
return render_template("500.html", config=config)
@app.route("/500")