This commit is contained in:
parent
d4be063d00
commit
8d5cf827a0
12
app.py
12
app.py
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user