const state = process.env.NODE_ENV
let conf = {}
if (state === 'test') {
  conf.agentApiUrl = 'https://api2.ezijing.com/'
  conf.apiKey = 'jOYRA5oMFqjwvPGjssRf7cpo25vV3ENt'
  conf.host = 'lms-api2.ezijing.com'
} else if (state === 'production') {
  conf.agentApiUrl = 'https://zapi.ezijing.com/'
  conf.apiKey = 'jOYRA5oMFqjwvPGjssRf7cpo25vV3ENt'
  conf.host = 'lms-api.ezijing.com'
}

global.app = null

module.exports = conf
