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

const development = {
    domain: 'http://192.168.1.115:10215',
}

const production = {
    domain: 'https://pqmcn.com:8092/api',
}

const config = debug ? development : production

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

config.static = config.domain + '/system-boot/image/toStream?bgImage='


export default config
