Skip to content

Commit

Permalink
Merge pull request #1898 from luis-lab-prs/master
Browse files Browse the repository at this point in the history
Fix issue ironhack-edu/web-bootcamp#170
  • Loading branch information
ross-u authored Mar 23, 2023
2 parents dc00f09 + f21736c commit 0d09c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const mongoose = require("mongoose");
// ℹ️ Sets the MongoDB URI for our app to have access to it.
// If no env has been set, we dynamically set it to whatever the folder name was upon the creation of the app

const MONGO_URI = process.env.MONGODB_URI || "mongodb://localhost/lab-express-basic-auth";
const MONGO_URI = process.env.MONGODB_URI || "mongodb://127.0.0.1:27017/lab-express-basic-auth";

mongoose
.connect(MONGO_URI)
Expand Down

0 comments on commit 0d09c7b

Please sign in to comment.