mirror of
https://github.com/Permissionless-Software-Foundation/psf-bch-api-base.git
synced 2026-09-21 16:52:00 -07:00
15 lines
368 B
JavaScript
15 lines
368 B
JavaScript
import common from './env/common.js'
|
|
|
|
import development from './env/development.js'
|
|
import production from './env/production.js'
|
|
|
|
const env = process.env.NODE_ENV || 'development'
|
|
console.log(`Loading config for this environment: ${env}`)
|
|
|
|
let config = development
|
|
if (env === 'production') {
|
|
config = production
|
|
}
|
|
|
|
export default Object.assign({}, common, config)
|