mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00
rename /health to /healthcheck
This commit is contained in:
parent
dcf4f6c6aa
commit
f18ee2dfd8
2 changed files with 2 additions and 2 deletions
|
@ -6,6 +6,6 @@ services:
|
|||
build: .
|
||||
sut:
|
||||
image: alpine
|
||||
command: sh -c 'wget -qO- ihatemoney:8000/health | grep "OK"'
|
||||
command: sh -c 'wget -qO- ihatemoney:8000/healthcheck | grep "OK"'
|
||||
depends_on:
|
||||
- ihatemoney
|
||||
|
|
|
@ -151,7 +151,7 @@ def pull_project(endpoint, values):
|
|||
# redirect to authentication page
|
||||
raise Redirect303(url_for(".authenticate", project_id=project_id))
|
||||
|
||||
@main.route("/health", methods=["GET"])
|
||||
@main.route("/healthcheck", methods=["GET"])
|
||||
def health():
|
||||
return "OK"
|
||||
|
||||
|
|
Loading…
Reference in a new issue