This commit is contained in:
Arjun Komath
2026-03-28 13:20:26 +11:00
parent 5bed4c5053
commit 48a28104c7
+2 -2
View File
@@ -181,7 +181,7 @@ function sleep(ms) {
async function waitForGatewayReady(opts = {}) {
const timeoutMs = opts.timeoutMs ?? 60_000;
const start = Date.now();
const endpoints = ["/openclaw", "/openclaw", "/", "/health"];
const endpoints = ["/openclaw", "/", "/health"];
while (Date.now() - start < timeoutMs) {
for (const endpoint of endpoints) {
@@ -818,7 +818,7 @@ const VALID_AUTH_CHOICES = [
];
function validatePayload(payload) {
if (payload.authChoice && !VALID_AUTH_CHOICES.includes(payload.authChoice)) {
if (payload.authChoice && !VALID_AUTH_CHOICES.includes(payload.authChoice)) {
return `Invalid authChoice: ${payload.authChoice}`;
}
const stringFields = [