High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: remove localhost fallback from simple strategy readiness
Luigi Agostid588cfc72cea
diff --git a/internal/strategy/simple/simple.go b/internal/strategy/simple/simple.goindex f2b739df..4e522f3a 100644--- a/internal/strategy/simple/simple.go+++ b/internal/strategy/simple/simple.go@@ -93,12 +93,12 @@ func (s *Strategy) ensureRunning() (string, error) {// Wait for instance to become ready.deadline := time.Now().Add(30 * time.Second)+ if launched.URL == "" {+ return "", fmt.Errorf("auto-launched instance %q has no URL", launched.ID)+ }for time.Now().Before(deadline) {time.Sleep(500 * time.Millisecond)url := launched.URL- if url == "" {- url = fmt.Sprintf("http://localhost:%s", launched.Port)- }resp, healthErr := http.Get(url + "/health")if healthErr == nil {_ = resp.Body.Close()