返回提交历史
Modified
src/controllers/api/loginController.ts
+1
-1
XFEstudio/XFESpaceNinjaServer
chore: disable DTLS (#2511)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2511 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
49c353d8
代码差异
1 个文件
+1
-1
@@ -130,7 +130,7 @@ const createLoginResponse = (
130
130
resp.Groups = [];
131
131
}
132
132
if (version_compare(buildLabel, "2021.04.13.19.58") >= 0) {
133
resp.DTLS = 99;
133
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.
134
134
}
135
135
if (version_compare(buildLabel, "2022.04.29.12.53") >= 0) {
136
136
resp.ClientType = account.ClientType;