mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-17 12:11:20 +00:00
fix: batch docker config writes
This commit is contained in:
@@ -230,13 +230,7 @@ describe("scripts/docker/setup.sh", () => {
|
||||
"run --rm --no-deps --entrypoint node openclaw-gateway dist/index.js onboard --mode local --no-install-daemon",
|
||||
);
|
||||
expect(log).toContain(
|
||||
"run --rm --no-deps --entrypoint node openclaw-gateway dist/index.js config set gateway.mode local",
|
||||
);
|
||||
expect(log).toContain(
|
||||
"run --rm --no-deps --entrypoint node openclaw-gateway dist/index.js config set gateway.bind lan",
|
||||
);
|
||||
expect(log).toContain(
|
||||
'run --rm --no-deps --entrypoint node openclaw-gateway dist/index.js config set gateway.controlUi.allowedOrigins ["http://localhost:18789","http://127.0.0.1:18789"] --strict-json',
|
||||
'run --rm --no-deps --entrypoint node openclaw-gateway dist/index.js config set --batch-json [{"path":"gateway.mode","value":"local"},{"path":"gateway.bind","value":"lan"},{"path":"gateway.controlUi.allowedOrigins","value":["http://localhost:18789","http://127.0.0.1:18789"]}]',
|
||||
);
|
||||
expect(log).not.toContain("run --rm openclaw-cli onboard --mode local --no-install-daemon");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user