Revert to Gunicorn

This commit is contained in:
Parker M. 2024-12-03 21:03:18 -06:00
parent cec820911e
commit 824d674d0f
Signed by: parker
GPG Key ID: 505ED36FC12B5D5E
3 changed files with 2 additions and 3 deletions

2
pkrm.sh Normal file → Executable file
View File

@ -1,2 +1,2 @@
#!/bin/bash
python3 run.py
gunicorn -b 0.0.0.0:4343 run:app

3
run.py
View File

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