started adding HTML files for the web monitor program

This commit is contained in:
UpstreamData
2022-02-24 08:57:23 -07:00
parent 5a7dcc7fcf
commit 610ee57963
6 changed files with 199 additions and 0 deletions

13
tools/web_monitor/app.py Normal file
View File

@@ -0,0 +1,13 @@
import socketio
from sanic import Sanic
app = Sanic("App")
# attach socketio
sio = socketio.AsyncServer(async_mode="sanic")
sio.attach(app)
app.static('/', "./public/index.html")
app.static('/index.css', "./static/index.css")
app.static('/scan', "./public/scan.html")