This commit is contained in:
2025-05-18 05:21:16 -05:00
parent 132073ca19
commit c19bedc54a
65 changed files with 705 additions and 575 deletions

11
app/errors.py Normal file
View File

@ -0,0 +1,11 @@
from flask import render_template, Blueprint
bp = Blueprint('errors', __name__)
@bp.app_errorhandler(400)
def bad_request(error):
return render_template('400.html'), 400
@bp.app_errorhandler(500)
def internal_error(error):
return render_template('500.html'), 500