Files
sethtest/app.py
T
Scaffolder 59c9a95154
deploy / deploy (push) Successful in 4m48s
initial commit
Change-Id: If4e8a826d76819817e111cc7477a135f0c871db9
2026-05-13 18:29:35 +00:00

22 lines
388 B
Python

from flask import Flask, jsonify, render_template
app = Flask(__name__)
@app.route("/health")
def health():
return jsonify(status="ok", service="sethtest"), 200
@app.route("/")
def index():
return render_template(
"index.html",
name="sethtest",
description="Seth doing stuff",
)
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8080)