Skip to content

Commit

Permalink
Removed unncessary codes
Browse files Browse the repository at this point in the history
  • Loading branch information
realpxd authored Jan 23, 2024
1 parent f496cfe commit dc07973
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions x-clone-backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ const port = process.env.PORT || 5000
const uri = process.env.ATLAS_URI


// mongoose
// .connect(uri)
// .then(() => {
// console.log("Connected to database");
// })
// .catch((e) => console.log(e));

const connectDB = async () => {
console.log('Connecting to MongoDB with URI:', uri);
Expand Down

0 comments on commit dc07973

Please sign in to comment.