This commit is contained in:
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")
|
||||
|
||||
Reference in New Issue
Block a user