Skip to content

Commit

Permalink
Update to node version 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesvp committed Dec 8, 2011
1 parent f3f0d30 commit 6af0bd2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app.js
@@ -1,5 +1,3 @@
require.paths.unshift('./node_modules');

if(process.env.VCAP_SERVICES){ if(process.env.VCAP_SERVICES){
var env = JSON.parse(process.env.VCAP_SERVICES); var env = JSON.parse(process.env.VCAP_SERVICES);
var mongo = env['mongodb-1.8'][0]['credentials']; var mongo = env['mongodb-1.8'][0]['credentials'];
Expand All @@ -11,7 +9,7 @@ else{
"username":"", "username":"",
"password":"", "password":"",
"name":"", "name":"",
"db":"visits" "db":""
} }
} }


Expand Down

0 comments on commit 6af0bd2

Please sign in to comment.