diff options
| author | Acid Chicken <root@acid-chicken.com> | 2024-05-23 15:19:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-23 15:19:52 +0900 |
| commit | 611e303bab1ace64c7ab1611e35d850a96f0bace (patch) | |
| tree | 7dbde5302219db6cbc1786e234ea361f9a4c2446 /healthcheck.sh | |
| parent | feat(frontend): 長いテキストをペーストした際にテキストフ... (diff) | |
| download | sharkey-611e303bab1ace64c7ab1611e35d850a96f0bace.tar.gz sharkey-611e303bab1ace64c7ab1611e35d850a96f0bace.tar.bz2 sharkey-611e303bab1ace64c7ab1611e35d850a96f0bace.zip | |
feat(backend): add /healthz endpoint (#13834)
* feat(backend): add /healthz endpoint
* feat(backend): also check meilisearch status if available
* style: header
* chore: no-store
* chore: healthcheck.sh
* style: format
Diffstat (limited to 'healthcheck.sh')
| -rw-r--r-- | healthcheck.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/healthcheck.sh b/healthcheck.sh index d6d416c7a1..dcfcf76786 100644 --- a/healthcheck.sh +++ b/healthcheck.sh @@ -4,4 +4,4 @@ # SPDX-License-Identifier: AGPL-3.0-only PORT=$(grep '^port:' /misskey/.config/default.yml | awk 'NR==1{print $2; exit}') -curl -s -S -o /dev/null "http://localhost:${PORT}" +curl -Sfso/dev/null "http://localhost:${PORT}/healthz" |