diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-24 17:12:00 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-24 17:12:00 -0500 |
| commit | 74c1e0ca2b343eb9084a90e7a9490f58cb2c81d1 (patch) | |
| tree | 82f3c725625e3ada80cc670dd7b7934bc71801e6 | |
| parent | 9d5c4dcc8e45e96ee9a976ca337a9d389750fb8a (diff) | |
databaseHost
| -rw-r--r-- | config.json.example | 1 | ||||
| -rw-r--r-- | server/index.js | 2 |
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') // |
