Switch from gunicorn to waitress

This commit is contained in:
Parker M. 2024-12-03 20:51:21 -06:00
parent 3d4f8f9f87
commit 55b222694c
Signed by: parker
GPG Key ID: 505ED36FC12B5D5E
2 changed files with 3 additions and 5 deletions

View File

@ -1 +0,0 @@
gunicorn -b 0.0.0.0:4343 run:app

7
run.py
View File

@ -1,6 +1,5 @@
from app.views import app as application
app = application
from waitress import serve
from app.views import app
if __name__ == "__main__":
application.run(port="4343")
serve(app, host="127.0.0.1", port=4343)