2019-02-26 01:17:52 +01:00
|
|
|
const env = process.env.NODE_ENV
|
|
|
|
|
const beConf = require('../config/config.' + env + '.json')
|
|
|
|
|
|
|
|
|
|
const conf = {
|
|
|
|
|
// environment
|
|
|
|
|
title: beConf.title,
|
2019-02-26 12:37:51 +01:00
|
|
|
description: beConf.description,
|
2019-02-26 01:17:52 +01:00
|
|
|
|
|
|
|
|
// base url
|
|
|
|
|
baseurl: beConf.baseurl,
|
|
|
|
|
apiurl: beConf.apiurl
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default conf
|