mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-30 00:05:03 +00:00
fix(infra): make browser relay bind address configurable
Add browser.relayBindHost config option so the Chrome extension relay server can bind to a non-loopback address (e.g. 0.0.0.0 for WSL2). Defaults to 127.0.0.1 when unset, preserving current behavior. Closes #39214 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Peter Steinberger
parent
0692f71c6f
commit
436ae8a07c
@@ -66,4 +66,10 @@ export type BrowserConfig = {
|
||||
* Example: ["--window-size=1920,1080", "--disable-infobars"]
|
||||
*/
|
||||
extraArgs?: string[];
|
||||
/**
|
||||
* Bind address for the Chrome extension relay server.
|
||||
* Default: "127.0.0.1". Set to "0.0.0.0" for WSL2 or other environments where
|
||||
* the relay must be reachable from a different network namespace.
|
||||
*/
|
||||
relayBindHost?: string;
|
||||
};
|
||||
|
||||
@@ -372,6 +372,7 @@ export const OpenClawSchema = z
|
||||
)
|
||||
.optional(),
|
||||
extraArgs: z.array(z.string()).optional(),
|
||||
relayBindHost: z.string().optional(),
|
||||
})
|
||||
.strict()
|
||||
.optional(),
|
||||
|
||||
Reference in New Issue
Block a user