diff --git a/internal/start/start.go b/internal/start/start.go index 10dc642d6..7f393a2b7 100644 --- a/internal/start/start.go +++ b/internal/start/start.go @@ -852,7 +852,7 @@ EOF "HOSTNAME=0.0.0.0", }, Healthcheck: &container.HealthConfig{ - Test: []string{"CMD", "node", "-e", "require('http').get('http://127.0.0.1:3000/api/profile', (r) => {if (r.statusCode !== 200) throw new Error(r.statusCode)})"}, + Test: []string{"CMD", "node", "-e", "fetch('http://127.0.0.1:3000/api/profile', (r) => {if (r.statusCode !== 200) throw new Error(r.statusCode)})"}, Interval: 10 * time.Second, Timeout: 2 * time.Second, Retries: 3, diff --git a/internal/utils/misc.go b/internal/utils/misc.go index 778394eda..469cd07e0 100644 --- a/internal/utils/misc.go +++ b/internal/utils/misc.go @@ -34,7 +34,7 @@ const ( DifferImage = "supabase/pgadmin-schema-diff:cli-0.0.5" MigraImage = "supabase/migra:3.0.1663481299" PgmetaImage = "supabase/postgres-meta:v0.80.0" - StudioImage = "supabase/studio:20240326-5e5586d" + StudioImage = "supabase/studio:20240408-6bf3b81" ImageProxyImage = "darthsim/imgproxy:v3.8.0" EdgeRuntimeImage = "supabase/edge-runtime:v1.41.3" VectorImage = "timberio/vector:0.28.1-alpine"