changing server to use flask

This commit is contained in:
root
2019-04-26 16:03:42 +00:00
parent 9ec6f2a115
commit 854d822acc
6 changed files with 26 additions and 20 deletions

11
app.py Normal file
View File

@@ -0,0 +1,11 @@
#-----------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE in the project root for license information.
#-----------------------------------------------------------------------------------------
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return app.send_static_file("index.html")