mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
/health endpoint
This commit is contained in:
parent
b502e1403f
commit
f2d3ec1fc2
1 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,9 @@ def pull_project(endpoint, values):
|
|||
# redirect to authentication page
|
||||
raise Redirect303(url_for(".authenticate", project_id=project_id))
|
||||
|
||||
@main.route("/health", methods=["GET"])
|
||||
def health():
|
||||
return "OK"
|
||||
|
||||
@main.route("/admin", methods=["GET", "POST"])
|
||||
def admin():
|
||||
|
|
Loading…
Reference in a new issue