import axios from 'axios'
const instance = axios.create({ 
  baseURL: window.ConnectConfig.url + window.ConnectConfig.requestConfig,
  timeout: 1500000,
})

const instance2 = axios.create({ 
  baseURL: window.ConnectConfig.url2 + window.ConnectConfig.requestConfig,
  timeout: 1500000,
})

axios.defaults.headers.post['Content-Type'] = 'application/json'

// instance.defaults.timeout = 2500
export default instance
export { instance2 }
