Fix healthcheck

This commit is contained in:
Ben Sarmiento
2024-02-04 20:28:58 +01:00
parent 371a90fa03
commit 00d6100323

View File

@@ -1,5 +1,5 @@
#!/bin/sh
response=$(curl -o /dev/null -s -w "%{http_code}" "http://fun.box:9999/http/version.txt")
response=$(curl -o /dev/null -s -w "%{http_code}" "http://localhost:9999/http/version.txt")
if [ "$response" -eq 200 ]; then
exit 0
else