html foo in main.py
This commit is contained in:
parent
35903fe95b
commit
8b7a34956b
3
main.py
3
main.py
@ -225,6 +225,9 @@ def apps_running():
|
|||||||
i = runner.currentApp
|
i = runner.currentApp
|
||||||
return config.Apps[i]["name"]
|
return config.Apps[i]["name"]
|
||||||
|
|
||||||
|
@route("/")
|
||||||
|
def index():
|
||||||
|
return open("html/index.html").read()
|
||||||
|
|
||||||
run(host="localhost", port=8000)
|
run(host="localhost", port=8000)
|
||||||
running = False
|
running = False
|
||||||
|
Loading…
Reference in New Issue
Block a user