Should work now.

This commit is contained in:
bʰedoh₂ swé 2024-12-18 22:35:51 +05:00
parent 03df23e214
commit fda3901691

View File

@ -48,7 +48,7 @@ let srv = net.createServer(function(socket: net.Socket) {
if (typeof p.data === 'undefined') {
return;
} else {
data = data.slice(s.search("\r"));
data = data.slice(s.search("\r") + 2);
}
} else {
console.log("Address " + addr + " tried to use proxy protocol.");