port
This commit is contained in:
parent
d721c2d132
commit
3ac3322f17
1 changed files with 2 additions and 1 deletions
3
main.js
3
main.js
|
@ -4,6 +4,7 @@ const zlib = require("zlib");
|
|||
|
||||
|
||||
const TARGET_HOST = 'example.org';
|
||||
const PROXY_PORT = 10920;
|
||||
|
||||
const resetAnsi = "\u001B[0m";
|
||||
function setColor(r, g, b) {
|
||||
|
@ -76,5 +77,5 @@ ${resetAnsi}`);
|
|||
.on('end', () => {
|
||||
request.end();
|
||||
});
|
||||
}).listen(10920);
|
||||
}).listen(PROXY_PORT);
|
||||
|
||||
|
|
Loading…
Reference in a new issue