From 5707b74d8d3acd14bd84e72e3c3d236ae6cd5222 Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Sat, 4 Apr 2026 17:20:57 +0800 Subject: [PATCH] fix: update proxy API URL to www.bytecatcode.org --- claude-dev/scripts/smoke-network.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/claude-dev/scripts/smoke-network.sh b/claude-dev/scripts/smoke-network.sh index 841a882..09d52c1 100644 --- a/claude-dev/scripts/smoke-network.sh +++ b/claude-dev/scripts/smoke-network.sh @@ -14,15 +14,15 @@ check_http_status() { echo "$url => HTTP $code" } -if ! getent hosts api.bytecatcode.org >/dev/null 2>&1; then - echo "DNS lookup failed for api.bytecatcode.org" >&2 +if ! getent hosts www.bytecatcode.org >/dev/null 2>&1; then + echo "DNS lookup failed for www.bytecatcode.org" >&2 exit 1 fi -echo "DNS lookup passed for api.bytecatcode.org" +echo "DNS lookup passed for www.bytecatcode.org" # Check external API with longer timeout and allow connection failures in CI -if ! check_http_status "https://api.bytecatcode.org" '^(000|200|301|302|400|401|403|404|502|503)$'; then +if ! check_http_status "https://www.bytecatcode.org" '^(000|200|301|302|400|401|403|404|502|503)$'; then echo "Warning: External API check failed, but continuing (may be network isolation in CI)" >&2 fi