chore: disable DTLS
All checks were successful
Build / build (pull_request) Successful in 1m3s

This commit is contained in:
Sainan 2025-07-19 00:36:54 +02:00
parent 90ab560620
commit 6c2b48d7de

View File

@ -130,7 +130,7 @@ const createLoginResponse = (
resp.Groups = []; resp.Groups = [];
} }
if (version_compare(buildLabel, "2021.04.13.19.58") >= 0) { if (version_compare(buildLabel, "2021.04.13.19.58") >= 0) {
resp.DTLS = 99; resp.DTLS = 0; // bit 0 enables DTLS. if enabled, additional bits can be set, e.g. bit 2 to enable logging. on live, the value is 99.
} }
if (version_compare(buildLabel, "2022.04.29.12.53") >= 0) { if (version_compare(buildLabel, "2022.04.29.12.53") >= 0) {
resp.ClientType = account.ClientType; resp.ClientType = account.ClientType;