indutny, (edited ) TIL: new URL() in Node.js isn't exactly compatible with new URL() in browsers.
Try this in both Node/Firefox:
new URL(‘socks://localhost:1234').port
. What do you think would happen?
indutny, (edited ) TIL: new URL() in Node.js isn't exactly compatible with new URL() in browsers.
Try this in both Node/Firefox:
new URL(‘socks://localhost:1234').port
. What do you think would happen?