Skip to content

Commit

Permalink
atlas config
Browse files Browse the repository at this point in the history
  • Loading branch information
jipsonminibhavan committed Feb 5, 2024
1 parent ab0aa2f commit 4278b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.env
.env.prod
dist
2 changes: 1 addition & 1 deletion backend/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import dotenv from "dotenv";

dotenv.config();
dotenv.config({ path: "./env.prod" });

export const PORT: number = parseInt(process.env.PORT || "8080", 10);
export const MONGODB_URI: string =
Expand Down

0 comments on commit 4278b55

Please sign in to comment.