fix: tighten gateway bind auth diagnostics
This commit is contained in:
1 parent
debfce5a77
commit
5565dcd447
8 files changed
+196
-3
No files matched your search
@@ -464,7 +464,7 @@ export async function startGatewayServer(
|
||||
}
|
||||
if (!isLoopbackHost(bindHost) && authMode === "none") {
|
||||
throw new Error(
|
||||
`refusing to bind gateway to ${bindHost}:${port} without auth (set gateway.auth or CLAWDBOT_GATEWAY_TOKEN)`,
|
||||
`refusing to bind gateway to ${bindHost}:${port} without auth (set gateway.auth.token or CLAWDBOT_GATEWAY_TOKEN, or pass --token)`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user