Initial Flask Setup

This commit is contained in:
Patrick_Pluto 2024-09-16 13:16:26 +02:00
parent 2fd81dbe3e
commit 0ccfd98e32
9 changed files with 13 additions and 39 deletions

11
py/web_flask.py Normal file
View file

@ -0,0 +1,11 @@
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return app.send_static_file('index.html')
if __name__ == '__main__':
app.run()