There was an error while loading. Please reload this page.
1 parent bcbc842 commit d7f1844Copy full SHA for d7f1844
1 file changed
web/public/setup.sh
@@ -143,8 +143,7 @@ fi
143
echo "✓ Control plane is reachable"
144
145
if [ -n "$LOGS_ENDPOINT" ]; then
146
- LOGS_STATUS=$(curl -s -o /dev/null -w "%{http_code}" --connect-timeout 10 "$LOGS_ENDPOINT" 2>/dev/null || echo "000")
147
- if [ "$LOGS_STATUS" = "000" ]; then
+ if ! curl -s -o /dev/null --connect-timeout 10 "$LOGS_ENDPOINT" 2>/dev/null; then
148
error "Cannot reach logs endpoint at $LOGS_ENDPOINT. Please check the URL and your network connection."
149
fi
150
echo "✓ Logs endpoint is reachable"
0 commit comments