mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 23:07:27 +00:00
fix(gateway): remove hello-ok host and commit fields
This commit is contained in:
@@ -74,8 +74,6 @@ export const HelloOkSchema = Type.Object(
|
||||
server: Type.Object(
|
||||
{
|
||||
version: NonEmptyString,
|
||||
commit: Type.Optional(NonEmptyString),
|
||||
host: Type.Optional(NonEmptyString),
|
||||
connId: NonEmptyString,
|
||||
},
|
||||
{ additionalProperties: false },
|
||||
|
||||
@@ -824,8 +824,6 @@ export function attachGatewayWsMessageHandler(params: {
|
||||
protocol: PROTOCOL_VERSION,
|
||||
server: {
|
||||
version: resolveRuntimeServiceVersion(process.env, "dev"),
|
||||
commit: process.env.GIT_COMMIT,
|
||||
host: os.hostname(),
|
||||
connId,
|
||||
},
|
||||
features: { methods: gatewayMethods, events },
|
||||
|
||||
Reference in New Issue
Block a user