updated requirements, and fixed some formatting issues

This commit is contained in:
UpstreamData
2022-03-07 10:36:38 -07:00
parent 8a6917878e
commit 23350ea4b6
3 changed files with 50 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
from tools.web_monitor.app import app
import uvicorn
if __name__ == '__main__':
# app.run for running the sanic app inside the file
app.run(host="0.0.0.0", port=80)
if __name__ == "__main__":
uvicorn.run("app:app", host="127.0.0.1", port=80)