We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c4a65 commit bac60c2Copy full SHA for bac60c2
app.js
@@ -19,7 +19,10 @@ var commentRoutes = require("./routes/comments"),
19
20
app.use(methodOverride("_method"));
21
app.use(express.static(__dirname + "/public"));
22
-mongoose.connect("mongodb://localhost/YelpCamp");
+
23
+// mongoose.connect("mongodb://localhost/YelpCamp");
24
+mongoose.connect("mongodb://alex:alex@ds125555.mlab.com:25555/yelpcampgrounds");
25
26
app.set("view engine","ejs");
27
app.use(flash());
28
app.use(bodyParser.urlencoded({extended: true}));
0 commit comments