changing server to use flask
This commit is contained in:
11
app.py
Normal file
11
app.py
Normal 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")
|
||||
Reference in New Issue
Block a user