diff --git a/pkrm.sh b/pkrm.sh deleted file mode 100644 index 08952fa..0000000 --- a/pkrm.sh +++ /dev/null @@ -1 +0,0 @@ -gunicorn -b 0.0.0.0:4343 run:app \ No newline at end of file diff --git a/run.py b/run.py index ed0d2b2..c1be3bd 100644 --- a/run.py +++ b/run.py @@ -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)