Skip to content

Commit

Permalink
mongo config
Browse files Browse the repository at this point in the history
  • Loading branch information
kevzettler committed Jan 8, 2013
1 parent febc401 commit 309b956
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ var sys = require('sys'),

var mongoURL = (env) ? env.DOTCLOUD_DB_MONGODB_URL : "mongodb://localhost:27017/mixhammer";

console.log(mongoURL);


//regex for validating urls
var url_regex = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/i;
Expand Down

0 comments on commit 309b956

Please sign in to comment.