mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
b920662790
to standardise getting paths and absolute URLs. Easy to extend for other configurations we may need.
16 lines
294 B
JavaScript
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; |