mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 23:24:30 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -118,13 +118,13 @@ export async function promptRemoteGatewayConfig(
|
||||
});
|
||||
const url = ensureWsUrl(String(urlInput));
|
||||
|
||||
const authChoice = (await prompter.select({
|
||||
const authChoice = await prompter.select({
|
||||
message: "Gateway auth",
|
||||
options: [
|
||||
{ value: "token", label: "Token (recommended)" },
|
||||
{ value: "off", label: "No auth" },
|
||||
],
|
||||
})) as "token" | "off";
|
||||
});
|
||||
|
||||
let token = cfg.gateway?.remote?.token ?? "";
|
||||
if (authChoice === "token") {
|
||||
|
||||
Reference in New Issue
Block a user