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:
parent
ae31304af0
commit
4eaf544ad7
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue