port changed

This commit is contained in:
Jan Prochazka
2024-10-23 12:14:28 +02:00
parent 48d4fb4fec
commit 3b82679c2d

View File

@@ -129,7 +129,7 @@ function start() {
logger.info(`DbGate API listening on port ${port} (docker build)`);
server.listen(port);
} else if (platformInfo.isAwsUbuntuLayout) {
const port = process.env.PORT || 80;
const port = process.env.PORT || 3000;
logger.info(`DbGate API listening on port ${port} (AWS AMI build)`);
server.listen(port);
} else if (platformInfo.isNpmDist) {