Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistydz authored Sep 18, 2021
1 parent 4c15a70 commit 1688d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ require("./routes/passportConfig")(passport);



const uri = "mongodb+srv://${process.env.MONGO_USER}:${process.env.MONGO_PASSWORD}@wavedb.uej6u.mongodb.net/${process.env.MONGO_DB}?retryWrites=true&w=majority";
const uri = `mongodb+srv://${process.env.MONGO_USER}:${process.env.MONGO_PASSWORD}@wavedb.uej6u.mongodb.net/${process.env.MONGO_DB}?retryWrites=true&w=majority`;
mongoose.connect(uri, {
useNewUrlParser: true,
useUnifiedTopology: true,
Expand Down

0 comments on commit 1688d6a

Please sign in to comment.