Skip to content

Commit 64d663d

Browse files
committed
fix: Forgejo health check api endpoint
1 parent e92121d commit 64d663d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/openhexa.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function is_forgejo_reachable() {
111111
load_env 2>/dev/null
112112
echo "${FORGEJO_PORT:-3100}"
113113
)
114-
(($(curl -s -o /dev/null -w "%{http_code}" "http://localhost:${port}/api/v1/version") == 200))
114+
(($(curl -s -o /dev/null -w "%{http_code}" "http://localhost:${port}/api/healthz") == 200))
115115
}
116116

117117
function is_db_accepting_connexion() {

0 commit comments

Comments
 (0)