mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
b920662790
to standardise getting paths and absolute URLs. Easy to extend for other configurations we may need.
16 lines
No EOL
294 B
JavaScript
16 lines
No EOL
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; |