Skip to content

Commit

Permalink
Fixed database link
Browse files Browse the repository at this point in the history
  • Loading branch information
afhaque committed Sep 28, 2015
1 parent 9e0a40e commit ed2ced1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -10,7 +10,6 @@
"morgan" : "~1.2.2",
"body-parser": "~1.5.2",
"jsonwebtoken": "^5.0.2",
"jade": "^1.1.5",
"method-override": "~2.1.2"
}
}
2 changes: 1 addition & 1 deletion server.js
Expand Up @@ -12,7 +12,7 @@ var app = express();
// Express Configuration
// -----------------------------------------------------
// Sets the connection to MongoDB
mongoose.connect(database.local.url);
mongoose.connect(database.mongolab.url);

// Logging and Parsing
app.use(express.static(__dirname + '/public')); // sets the static files location to public
Expand Down

0 comments on commit ed2ced1

Please sign in to comment.