fix: consolidate audited dev updates

This commit is contained in:
illusia committed 2026-10-08 10:32:59 +08:00
1 parent 568b8fd8be
commit 0a552f7ee8
58 files changed
+1930 -132

No files matched your search

+3
View File
@@ -464,6 +464,9 @@ function readSettingsInput(body: Record<string, unknown>): AdminSettingsInput {
welcomeTextRu: typeof body.welcomeTextRu === "string" ? body.welcomeTextRu.slice(0, 500) : undefined,
welcomeTextJa: typeof body.welcomeTextJa === "string" ? body.welcomeTextJa.slice(0, 500) : undefined,
webRtcEnabled: body.webRtcEnabled === true,
webRtcPublicHost: body.webRtcPublicHost as string | undefined,
webRtcIpv6Enabled: body.webRtcIpv6Enabled as boolean | undefined,
webRtcStunServer: body.webRtcStunServer as string | undefined,
webRtcUdpStart: readOptionalInteger(body, "webRtcUdpStart"),
webRtcUdpEnd: readOptionalInteger(body, "webRtcUdpEnd"),
relaySettingsAction: readRelaySettingsAction(body.relaySettingsAction),