From 962065e23a8185df785dcf5073a4e373b36e2e63 Mon Sep 17 00:00:00 2001 From: Karan Trehan Date: Mon, 27 May 2024 14:44:39 +0530 Subject: [PATCH] Update wsgi.py Application for guinicorn --- wsgi.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wsgi.py b/wsgi.py index bf4d905..23c7fc5 100644 --- a/wsgi.py +++ b/wsgi.py @@ -1,4 +1,2 @@ -from app import app - -if __name__ == "__main__": - app.run(host='0.0.0.0') +from app import app as application +app = application