0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Update base.js

No longer need `|| 'development'`, since it is defaulted in the top index.   If we did need `|| 'development'` here, we'd need it on the next line too, otherwise it breaks.
This commit is contained in:
danschumann 2013-11-23 22:29:08 -08:00
parent ae31304af0
commit 4eaf544ad7

View file

@ -10,7 +10,7 @@ var ghostBookshelf,
sanitize = require('validator').sanitize;
// Initializes a new Bookshelf instance, for reference elsewhere in Ghost.
ghostBookshelf = Bookshelf.ghost = Bookshelf.initialize(config[process.env.NODE_ENV || 'development'].database);
ghostBookshelf = Bookshelf.ghost = Bookshelf.initialize(config[process.env.NODE_ENV].database);
ghostBookshelf.client = config[process.env.NODE_ENV].database.client;
ghostBookshelf.validator = new Validator();