Skip to content

Commit

Permalink
Update .env path
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmorais authored Sep 8, 2024
1 parent 42b7bb7 commit dc26d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import createPostgresTables from "./models/postgres";
import dotenv from "dotenv";
import router from "./routes/userRoutes";
import CreateMongoDbCollections from "./models/mongo";
dotenv.config();
require('dotenv').config({ path: __dirname + '/../../../.env' });
const app = express();
const PORT = process.env.PORT || 3002;

Expand Down

0 comments on commit dc26d40

Please sign in to comment.