Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
anand-harsh committed Feb 18, 2024
1 parent 2b474b1 commit e09f38d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import ErrorMiddleware from "./middlewares/Error.js";
import cookieParser from "cookie-parser";
import cors from "cors";

// config({
// path: "./configs/config.env",
// });

const app = express();

app.use(
Expand Down
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('dotenv').config()
import app from "./app.js";
import { connectDB } from "./configs/Database.js";

Expand Down

0 comments on commit e09f38d

Please sign in to comment.