Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/realpxd/X-Clone
Browse files Browse the repository at this point in the history
  • Loading branch information
realpxd committed Jan 26, 2024
2 parents f215f55 + 42a8091 commit 9cbbd32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-clone-backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ app.use(express.json())
const port = process.env.PORT || 5000
const uri = process.env.ATLAS_URI

<<<<<<< HEAD

=======
>>>>>>> 42a8091ddfa56f48c408782c22d0eea1f8473aee
const connectDB = async () => {
try {
await mongoose.connect(uri)
Expand Down

0 comments on commit 9cbbd32

Please sign in to comment.