7 lines
259 B
JavaScript
7 lines
259 B
JavaScript
|
var path = require('path');
|
||
|
let configPath = path.join(__dirname, 'config/datasources.json');
|
||
|
|
||
|
if (process.env.NODE_ENV != 'production')
|
||
|
configPath = path.join(__dirname, 'config/datasources.development.json');
|
||
|
|
||
|
module.exports = require(configPath);
|