mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 21:51:24 +00:00
fix: Gateway canvas host bypasses auth and serves files unauthenticated
This commit is contained in:
@@ -164,7 +164,12 @@ export async function createGatewayRuntimeState(params: {
|
||||
maxPayload: MAX_PAYLOAD_BYTES,
|
||||
});
|
||||
for (const server of httpServers) {
|
||||
attachGatewayUpgradeHandler({ httpServer: server, wss, canvasHost });
|
||||
attachGatewayUpgradeHandler({
|
||||
httpServer: server,
|
||||
wss,
|
||||
canvasHost,
|
||||
resolvedAuth: params.resolvedAuth,
|
||||
});
|
||||
}
|
||||
|
||||
const clients = new Set<GatewayWsClient>();
|
||||
|
||||
Reference in New Issue
Block a user