init: простейший Flask — / и /health

This commit is contained in:
2026-06-27 13:29:13 +04:00
parent f936786088
commit 1de550b767
2 changed files with 15 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "contracts-flask OK"
@app.route("/health")
def health():
return {"ok": True, "service": "contracts-flask"}