import axios from 'axios'

const service = axios.create({
  baseURL: (window.dt_Config && window.dt_Config.serverAddress) || '',
  timeout: 1500000
})

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

export default service
