-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix issue #5 - if no email permission
- Loading branch information
1 parent
134a9f6
commit f56122a
Showing
4 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
node_modules/ | ||
config/auth.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ app.use(passport.session()); // persistent login sessions | |
app.use(flash()); // use connect-flash for flash messages stored in session | ||
|
||
mongoose.Promise = global.Promise; | ||
mongoose.connect('mongodb://mattias:[email protected]:33597/bandomap'); | ||
mongoose.connect('mongodb://localhost:27017/BandoMap'); | ||
|
||
// uncomment after placing your favicon in /public | ||
// app.use(favicon(path.join(__dirname, 'public', 'favicon.ico'))); | ||
|
@@ -81,7 +81,7 @@ function getCoords(address) { | |
|
||
// in development, make sure the port is set to 5000 | ||
// for production, set port to 3000 | ||
app.listen(3000, function () { | ||
app.listen(5000, function () { | ||
console.log('Example app listening on port !'); | ||
}); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters