mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Peccato, ci speravo
This commit is contained in:
parent
c98baf473a
commit
1e00f04d0b
4 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
{% extends '../base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block pagetitle %}
|
{% block pagetitle %}
|
||||||
Bad Request
|
Bad Request
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends '../base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block pagetitle %}
|
{% block pagetitle %}
|
||||||
Forbidden
|
Forbidden
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends '../base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block pagetitle %}
|
{% block pagetitle %}
|
||||||
Internal Server Error
|
Internal Server Error
|
|
@ -22,7 +22,7 @@ telegram_bot = telegram.Bot(config["Telegram"]["bot_token"])
|
||||||
|
|
||||||
@app.errorhandler(400)
|
@app.errorhandler(400)
|
||||||
def error_400(_=None):
|
def error_400(_=None):
|
||||||
return render_template("errors/400.html", config=config)
|
return render_template("400.html", config=config)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/400")
|
@app.route("/400")
|
||||||
|
@ -32,7 +32,7 @@ def page_400():
|
||||||
|
|
||||||
@app.errorhandler(403)
|
@app.errorhandler(403)
|
||||||
def error_403(_=None):
|
def error_403(_=None):
|
||||||
return render_template("errors/403.html", config=config)
|
return render_template("403.html", config=config)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/403")
|
@app.route("/403")
|
||||||
|
@ -42,7 +42,7 @@ def page_403():
|
||||||
|
|
||||||
@app.errorhandler(500)
|
@app.errorhandler(500)
|
||||||
def error_500(_=None):
|
def error_500(_=None):
|
||||||
return render_template("errors/500.html", config=config)
|
return render_template("500.html", config=config)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/500")
|
@app.route("/500")
|
||||||
|
|
Loading…
Reference in a new issue