diff --git a/patches/back/wsgi.py b/patches/back/wsgi.py index ecf3449..f48a4cd 100644 --- a/patches/back/wsgi.py +++ b/patches/back/wsgi.py @@ -13,5 +13,5 @@ app = get_app(config) port = app.config["API_PORT"] if app.config.get("API_PORT", False) else 5002 if __name__ == "__main__": - app.debug = True + app.debug = app.config.get("DEBUG", False) app.run(host="0.0.0.0", port=port)