From 08b4f80e214aae4bfe945bc2df9697a61858a760 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 18 May 2025 16:16:45 +0800 Subject: [PATCH] . --- supabase/kong/wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supabase/kong/wrapper.sh b/supabase/kong/wrapper.sh index 642811c..12dec38 100644 --- a/supabase/kong/wrapper.sh +++ b/supabase/kong/wrapper.sh @@ -34,8 +34,8 @@ export SUPABASE_SERVICE_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdX # --- 等待 postgrest (通过 Kong proxy) 可访问 --- echo "[kong] Waiting for PostgREST to be reachable via Kong..." -until curl -s -H "apikey: $SUPABASE_ANON_KEY" http://localhost:8000/rest/v1/ >/dev/null; do - echo "Waiting for API /rest/v1/ ..." +until curl -s http://localhost:3000/ >/dev/null; do + echo "[kong] Still waiting for PostgREST..." sleep 1 done echo "[kong] PostgREST is reachable. Starting Kong..."