diff --git a/wsgi.py b/wsgi.py index 535d8e5..b23f45b 100644 --- a/wsgi.py +++ b/wsgi.py @@ -12,5 +12,5 @@ if __name__ == "__main__": - app = create_flask_postgresql_app(Config, logger) - app.run(host="0.0.0.0", port=Config.PORT, debug=True) + wsgi = create_flask_postgresql_app(Config, logger) + wsgi.run(host="0.0.0.0", port=Config.PORT, debug=True)