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("/")
|
@app.route("/")
|
||||||
def homepage():
|
def homepage():
|
||||||
return render_template("main-page.html")
|
return render_template("main-page.html")
|
||||||
|
|||||||
Reference in New Issue
Block a user