change ports
This commit is contained in:
parent
3420dd3fd4
commit
25c51a2f94
@ -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.
|
||||
|
2
app.js
2
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')}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user