Skip to content

Commit

Permalink
Update port
Browse files Browse the repository at this point in the history
  • Loading branch information
DalySoftware committed Dec 11, 2024
1 parent eb7865b commit 6165553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import dotenv from "dotenv";
dotenv.config(); // load env vars from .env

// Env variables
export const port = process.env.PORT;
export const port = process.env.PORT ?? 3000;
export const dbConnectStr = process.env.DATABASE_CONNECTION_STRING;
export const myTestDb = process.env.MY_TEST_DB;
export const mockEmailUser = process.env.MOCK_EMAIL_USER;
Expand Down

0 comments on commit 6165553

Please sign in to comment.