|
@@ -2,8 +2,8 @@ import axios from 'axios'
|
|
|
|
|
|
var isProduction = process.env.NODE_ENV === 'production'
|
|
|
|
|
|
-const serverName = isProduction ? 'http://192.168.0.135:8001/' : 'http://192.168.0.135:8001/'
|
|
|
-// const serverName = isProduction ? 'http://8.135.106.227:8001/' : 'http://8.135.106.227:8001/'
|
|
|
+// const serverName = isProduction ? 'http://192.168.0.135:8001/' : 'http://192.168.0.135:8001/'
|
|
|
+const serverName = isProduction ? 'http://8.135.106.227:8001/' : 'http://8.135.106.227:8001/'
|
|
|
|
|
|
axios.defaults.baseURL = serverName
|
|
|
axios.defaults.headers['X-Requested-with'] = 'XMLHttpRequest'
|