High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
Update internal/config/editor_set.go
pigd0g39a383c32790
diff --git a/internal/config/editor_set.go b/internal/config/editor_set.goindex d825838a..023d35bf 100644--- a/internal/config/editor_set.go+++ b/internal/config/editor_set.go@@ -52,9 +52,15 @@ func setServerField(s *ServerConfig, field, value string) error {}s.TrustProxyHeaders = &bcase "cookieSecure":+ v := strings.ToLower(strings.TrimSpace(value))+ if v == "" || v == "auto" || v == "null" {+ // Unset to enable auto-detect behavior (tri-state: nil = auto-detect).+ s.CookieSecure = nil+ return nil+ }b, err := parseBool(value)if err != nil {- return fmt.Errorf("server.cookieSecure must be true or false: %w", err)+ return fmt.Errorf("server.cookieSecure must be true or false (or empty/auto/null to unset): %w", err)}s.CookieSecure = &bdefault: