1646397537

This commit is contained in:
Amruth Pillai
2022-03-04 13:38:58 +01:00
parent 269d5206e6
commit 7c73685759
4 changed files with 24 additions and 3 deletions

View File

@ -1 +1 @@
PORT=3100
SERVER_PORT=3100

View File

@ -4,7 +4,7 @@ export default registerAs('app', () => ({
timezone: process.env.TZ,
environment: process.env.NODE_ENV,
secretKey: process.env.SECRET_KEY,
port: parseInt(process.env.PORT, 10) || 3100,
port: parseInt(process.env.SERVER_PORT, 10) || 3100,
url: process.env.APP_URL || 'http://localhost:3000',
serverUrl: process.env.SERVER_URL || 'http://localhost:3100',
}));