change ports

This commit is contained in:
Aidan Honor 2024-10-21 20:25:23 -04:00
parent 3420dd3fd4
commit 25c51a2f94
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ Please note the /status endpoint will be broken with the original servers as COR
```bash ```bash
./manage up ./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
Windows is currently not supported by aidxnFUN yet. I suggest you use WSL, and follow the Linux instructions, or purchase a server. Windows is currently not supported by aidxnFUN yet. I suggest you use WSL, and follow the Linux instructions, or purchase a server.

2
app.js
View File

@ -99,7 +99,7 @@ routes.forEach(route => {
}); });
}); });
const PORT = process.env.PORT || 3000; const PORT = process.env.PORT || 5566;
app.listen(PORT, () => { app.listen(PORT, () => {
const now = new Date(); 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')}`; 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')}`;