The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
Rewrite the Host header on the Cowork ngrok tunnel
Clauded9546bceef27
diff --git a/cli/beacon/cmd/endpoint_cowork.go b/cli/beacon/cmd/endpoint_cowork.goindex 7b938bcd..48ea265a 100644--- a/cli/beacon/cmd/endpoint_cowork.go+++ b/cli/beacon/cmd/endpoint_cowork.go@@ -174,7 +174,7 @@ func startNgrokTunnel(ctx context.Context, port int, username, password string)if _, err := exec.LookPath("ngrok"); err != nil {return nil, fmt.Errorf("ngrok was not found on PATH; install ngrok or use --endpoint with a public HTTPS collector")}- cmd := exec.CommandContext(ctx, "ngrok", "http", strconv.Itoa(port), "--basic-auth", username+":"+password, "--log", "stdout", "--log-format", "logfmt")+ cmd := exec.CommandContext(ctx, "ngrok", "http", strconv.Itoa(port), "--basic-auth", username+":"+password, "--host-header=rewrite", "--log", "stdout", "--log-format", "logfmt")stdout, err := cmd.StdoutPipe()if err != nil {return nil, err