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

const development = {
    // domain: 'http://192.168.1.103:10215',
    domain: 'http://192.168.1.102:27707/api',
}

const production = {
    domain: 'http://www.pqmcc.com:27707/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/file/download?filePath='

export default config
