|
@@ -7,9 +7,10 @@ const vue = new Vue();
|
|
|
|
|
|
var isProduction = process.env.NODE_ENV === "production";
|
|
|
let loading = "";
|
|
|
-
|
|
|
-// 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.245:8003/";
|
|
|
+// 线下调试
|
|
|
+// const serverName = isProduction ? "/" : "http://192.168.0.135:8003/";
|
|
|
|
|
|
const serverLocation = window.location.hostname;
|
|
|
|