html foo in main.py

This commit is contained in:
Aeris 2018-08-22 21:15:32 +02:00
parent 35903fe95b
commit 8b7a34956b

View File

@ -225,7 +225,10 @@ def apps_running():
i = runner.currentApp
return config.Apps[i]["name"]
@route("/")
def index():
return open("html/index.html").read()
run(host="localhost", port=8000)
running = False
runner.join()
runner.join()