Ghost/core/server/config/index.js
Harry Wolff b920662790 Create the config module, initially used
to standardise getting paths and absolute URLs.  Easy
to extend for other configurations we may need.
2013-11-25 16:35:16 -05:00

16 lines
294 B
JavaScript

var ghostConfig = require('../../../config'),
loader = require('./loader'),
paths = require('./paths');
function configIndex() {
return ghostConfig[process.env.NODE_ENV];
}
configIndex.loader = loader;
configIndex.paths = paths;
module.exports = configIndex;