some structure
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-03 22:46:40 +10:00
parent d4be063d00
commit 8d5cf827a0

12
app.py
View File

@ -18,6 +18,18 @@ js.build()
@app.route('/liveness')
def healthx():
return "<h1><center>Liveness check completed</center><h1>"
@app.route('/readiness')
def healthz():
return "<h1><center>Readiness check completed</center><h1>"
@app.route("/")
def homepage():
return render_template("main-page.html")