Update port range

This commit is contained in:
Raven Scott 2024-06-08 17:08:30 -04:00
parent 302589e97e
commit 9461368c02

2
app.js
View File

@ -27,7 +27,7 @@ let servePort;
// Function to get a random port between 1337 and 2223 // Function to get a random port between 1337 and 2223
function getRandomPort() { function getRandomPort() {
return Math.floor(Math.random() * (2223 - 1337 + 1)) + 1337; return Math.floor(Math.random() * (65535 - 49152 + 1)) + 49152;
} }
async function initialize() { async function initialize() {