feat(server): disable UDP and stats support

UDP and stats support have been disabled to streamline server operations and reduce resource usage. This change improves performance and simplifies troubleshooting by focusing on HTTP and WebSocket functionalities.
This commit is contained in:
Kumi 2024-06-15 16:23:35 +02:00
parent fbbacfa991
commit eb557648f4
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -4,10 +4,10 @@ const PORT = process.env.TRACKER_PORT || 8106;
const HOST = process.env.TRACKER_HOST || "localhost";
const server = new Server({
udp: true,
udp: false,
http: true,
ws: true,
stats: true,
stats: false,
});
server.on("error", (err) => {