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

global.app = null

module.exports = conf
