const debug = true // true 是连地服务端本地，false 是连接线上

const development = {
    domain: 'http://192.168.1.114:10210',
    devCode: "2aaecd0b124df819eda75e639a1f91fd",
    key: "f81804778c89c779"
}

const production = {
    domain: 'http://192.168.1.60:8094',
}

const config = debug ? development : production

// #ifdef H5
if (process.env.NODE_ENV === 'development') {
    config.domain = '/api'
} else {
    config.domain = window.location.origin
}
// #endif

export default config
