This commit is contained in:
jusax23 2024-07-03 17:27:11 +02:00
parent d721c2d132
commit 3ac3322f17
Signed by: jusax23
GPG key ID: 499E2AA870C1CD41

View file

@ -4,6 +4,7 @@ const zlib = require("zlib");
const TARGET_HOST = 'example.org'; const TARGET_HOST = 'example.org';
const PROXY_PORT = 10920;
const resetAnsi = "\u001B[0m"; const resetAnsi = "\u001B[0m";
function setColor(r, g, b) { function setColor(r, g, b) {
@ -76,5 +77,5 @@ ${resetAnsi}`);
.on('end', () => { .on('end', () => {
request.end(); request.end();
}); });
}).listen(10920); }).listen(PROXY_PORT);