diff --git a/main.py b/main.py index bd6510113deca762c7b567b338604fc72f74e699..68ba4ee87801fa3f07c2dff70ae92b3cbe3f1f0b 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,6 @@ from app import create_app -app = create_app('development') +app = create_app("development") -if __name__ == '__main__': +if __name__ == "__main__": app.run(port=8085) diff --git a/wsgi.py b/wsgi.py index d663400290804d35db860db247464de8d571d869..34557361ecda10f6ea11465a74c04ecbb42fdf23 100644 --- a/wsgi.py +++ b/wsgi.py @@ -1,5 +1,4 @@ from app import create_app -from config import ProductionConfig # gunicorn -w 1 --worker-class=gevent -b 0.0.0.0:5000 --daemon wsgi:app -app = create_app(ProductionConfig) +app = create_app("production")