|
@@ -2,9 +2,9 @@ import axios from 'axios'
|
|
|
|
|
|
var isProduction = process.env.NODE_ENV === 'production'
|
|
|
// 线上打包
|
|
|
-// const serverName = isProduction ? '/' : 'http://192.168.0.245:8003/'
|
|
|
+const serverName = isProduction ? '/' : 'http://192.168.0.245:8003/'
|
|
|
// 线下调试
|
|
|
-const serverName = isProduction ? "/" : "http://192.168.0.135:8003/"
|
|
|
+// const serverName = isProduction ? "/" : "http://192.168.0.135:8003/"
|
|
|
|
|
|
const orginLink = window.location.origin
|
|
|
|