fix: fix typo in api healthcheck (#106)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

Reviewed-on: docker/freshrss#106
This commit is contained in:
Robert Kaussow 2023-06-11 00:20:49 +02:00
parent ab2ed79a3a
commit 3e12dd8145
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
set -eo pipefail
if [ "$(gomplate -i '{{ getenv "FRESHRSS_API_ENABLED" "false" | conv.ToBool }}')" = "true" ]; then
(php -r "readfile('http://127.0.0.1:8080/api/fever.php');" | grep -q 'api_versionX') || exit 1
(php -r "readfile('http://127.0.0.1:8080/api/fever.php');" | grep -q 'api_version') || exit 1
else
(php -r "readfile('http://127.0.0.1:8080/i/');" | grep -q 'jsonVars') || exit 1
fi