king
2019-10-16 910e22f4bccbe5e5d8951398bd53a7d6d636b852
src/api/index.js
@@ -30,7 +30,7 @@
class Api {
  constructor() {
    if (process.env.NODE_ENV === 'production') {
      axios.defaults.baseURL = document.location.origin
      axios.defaults.baseURL = document.location.origin + (window.GLOB.service ? '/' + window.GLOB.service : '')
    } else {
      // axios.defaults.baseURL = 'http://127.0.0.1:8888'
    }