summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.json.example1
-rw-r--r--server/index.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/config.json.example b/config.json.example
index 90df381..6028021 100644
--- a/config.json.example
+++ b/config.json.example
@@ -3,6 +3,7 @@
"hostName": "lvh.me",
"port": 3000,
"socketPort": 1337,
+ "databaseHost": "lvh.me",
"pageSize": 10,
"env": { "development": 1 }
}
diff --git a/server/index.js b/server/index.js
index 4fbd8d1..e817566 100644
--- a/server/index.js
+++ b/server/index.js
@@ -20,7 +20,7 @@ var http = require('http'),
var app = express()
var server
-var DATABASE_URI = process.env.MONGOLAB_URI || ('mongodb://' + config.hostName + '/vvalls')
+var DATABASE_URI = process.env.MONGOLAB_URI || ('mongodb://' + config.databaseHost + '/vvalls')
//