Address comments

This commit is contained in:
Arthur Baars 2024-07-24 11:37:11 +02:00
parent 6186179441
commit 4733419117
8 changed files with 20 additions and 8 deletions

View file

@ -39,7 +39,7 @@ const CERT_SUBJECT = [
},
{
name: "organizationName",
value: "GitHub ic.",
value: "GitHub inc.",
},
{
shortName: "OU",
@ -116,6 +116,7 @@ async function runWrapper() {
});
subprocess.on("exit", (code) => {
if (code !== 0) {
// If the proxy failed to start, try a different port from the ephemeral range [49152, 65535]
port = Math.floor(Math.random() * (65535 - 49152) + 49152);
subprocess = undefined;
}