Skip to content

Commit

Permalink
Added nodemon to dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pablisch committed Jun 29, 2023
1 parent 3a706db commit 5f71562
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 35 deletions.
Binary file added api/avatars/avatar-1688063329540-835828820.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion api/bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Module dependencies.
*/
// comment out the line below if there is no mongoUri.js file and a local database connection is being used
const mongoURI = require('../mongoUri')
const MONGODB_URL = require('../mongoUri')


var app = require("../app");
Expand All @@ -22,6 +22,7 @@ app.set("port", port);
/**
* Connect to MongoDB
**/
console.log(MONGODB_URL)

var mongoDbUrl = process.env.MONGODB_URL || "mongodb://0.0.0.0/acebook";
mongoose.connect(mongoDbUrl, {
Expand Down
Loading

0 comments on commit 5f71562

Please sign in to comment.