From 25c51a2f94540943fe11e9261337e4c26441595a Mon Sep 17 00:00:00 2001 From: Aidan Honor Date: Mon, 21 Oct 2024 20:25:23 -0400 Subject: [PATCH] change ports --- README.md | 2 +- app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36ce7ff..81b66e0 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Please note the /status endpoint will be broken with the original servers as COR ```bash ./manage up ``` - A server will now start on port :3000, and be accessible from your web browser at http://localhost:3000/. I highly suggest creating a NGINX reverse proxy for this, especially if you plan to point this to a domain. + A server will now start on port :5566, and be accessible from your web browser at http://localhost:5566/. I highly suggest creating a NGINX reverse proxy for this, especially if you plan to point this to a domain. ## Windows Windows is currently not supported by aidxnFUN yet. I suggest you use WSL, and follow the Linux instructions, or purchase a server. diff --git a/app.js b/app.js index 0fbd223..4e9e81f 100644 --- a/app.js +++ b/app.js @@ -99,7 +99,7 @@ routes.forEach(route => { }); }); -const PORT = process.env.PORT || 3000; +const PORT = process.env.PORT || 5566; app.listen(PORT, () => { const now = new Date(); const fT = `${now.getFullYear()}-${String(now.getMonth() + 1).padStart(2, '0')}-${String(now.getDate()).padStart(2, '0')} ${String(now.getHours()).padStart(2, '0')}:${String(now.getMinutes()).padStart(2, '0')}:${String(now.getSeconds()).padStart(2, '0')}`;