updated requirements, and fixed some formatting issues
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user