Skip to content

Commit

Permalink
update the port
Browse files Browse the repository at this point in the history
  • Loading branch information
8YBY8 committed Aug 23, 2024
1 parent 9687f7d commit 5d59017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const MongoClient = mongodb.MongoClient
const uri = `mongodb+srv://yubingyang9:[email protected]/?retryWrites=true&w=majority&appName=Cluster0`
// mongodb+srv://yubingyang9:<password>@cluster0.itvqll5.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0

const port = 8000
const port = process.env.port || 8000

console.log("connecting " + uri)
MongoClient.connect(
Expand Down

0 comments on commit 5d59017

Please sign in to comment.