From 83ff7d91449ef9951067a9f38db54cd8b5dab2ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20J=C4=99dyk?= Date: Thu, 9 Jun 2022 21:30:11 +0200 Subject: [PATCH] procfile fix --- Procfile | 2 +- ayct_backend/__init__.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 5a0c265..f5f511f 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: gunicorn -b 0.0.0.0:$PORT ayct_backend:create_app() --timeout 120 \ No newline at end of file +web: gunicorn -b 0.0.0.0:$PORT ayct_backend:app --timeout 120 \ No newline at end of file diff --git a/ayct_backend/__init__.py b/ayct_backend/__init__.py index 4dee880..9a22515 100644 --- a/ayct_backend/__init__.py +++ b/ayct_backend/__init__.py @@ -27,3 +27,5 @@ def create_app(): return "Hello world!" return app + +app = create_app()