define create_app fn

This commit is contained in:
deflax 2024-03-22 18:21:53 +02:00
parent 0d7615558e
commit 5451d8d1b3

View file

@ -104,5 +104,5 @@ def service_unavailable(e):
def handle_csrf_error(e): def handle_csrf_error(e):
return render_template('errors/csrf_error.html', reason=e.description), 400 return render_template('errors/csrf_error.html', reason=e.description), 400
if __name__ == '__main__': def create_app():
app.run() return app