mirror of
https://github.com/MathiasDPX/blog.git
synced 2025-07-17 23:39:06 +00:00
add /status
route
This commit is contained in:
parent
865535d3ba
commit
15c5a3283d
1 changed files with 4 additions and 0 deletions
4
main.py
4
main.py
|
@ -75,6 +75,10 @@ def atom_feed():
|
||||||
response.mimetype = "application/xml"
|
response.mimetype = "application/xml"
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
@app.route("/status")
|
||||||
|
def status():
|
||||||
|
return "ok", 200
|
||||||
|
|
||||||
@app.route("/favicon.ico")
|
@app.route("/favicon.ico")
|
||||||
def favicon():
|
def favicon():
|
||||||
return send_file("static/favicon.ico")
|
return send_file("static/favicon.ico")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue