restructure: код в site/, согласно платформе Flask

This commit is contained in:
2026-06-13 11:37:13 +04:00
parent 77dff4d3d4
commit bbf65527b1
3 changed files with 21 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from flask import Flask, render_template
app = Flask(__name__)
@app.route("/")
def index():
return render_template("index.html")
@app.route("/health")
def health():
return {"status": "ok"}
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000, debug=True)