Browse Source

removed unnecessary errors.py

master
junikimm717 2 years ago
parent
commit
136432cf56
  1. 11
      errors.py

11
errors.py

@ -1,11 +0,0 @@
from flask import render_template, Flask
def configure_app(app: Flask):
@app.errorhandler(404)
def handler_404(msg):
return render_template("errors/404.html")
@app.errorhandler(403)
def handler_403(msg):
return render_template("errors/403.html")
Loading…
Cancel
Save