update runtime
This commit is contained in:
1 file changed
+3
@@ -23,3 +23,6 @@ def index() -> str:
|
|||||||
def loadBoard(boardID: str) -> str:
|
def loadBoard(boardID: str) -> str:
|
||||||
path = os.path.join(root_dir(), f"boards/{boardID}.txt")
|
path = os.path.join(root_dir(), f"boards/{boardID}.txt")
|
||||||
return Response(get_file(path), mimetype="text/plain")
|
return Response(get_file(path), mimetype="text/plain")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app.run(host="0.0.0.0")
|
||||||
Reference in new issue
Block a user