浏览代码

生产内网地址

htc 1 天之前
父节点
当前提交
adf364832b
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      public/index.html

+ 4 - 4
public/index.html

@@ -36,8 +36,8 @@
   <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %>
     <script>
       // window.SITE_CONFIG['apiURL'] = 'https://transcend.ringzle.com/chuangheng-admin';
-      // window.SITE_CONFIG['apiURL'] = 'http://172.16.0.3:443/chuangheng-admin';
-      window.SITE_CONFIG['apiURL'] = 'https://wxapp.transcend-intl.cn/chuangheng-admin';
+      window.SITE_CONFIG['apiURL'] = 'http://172.16.0.3:443/chuangheng-admin';//生产内网地址
+      // window.SITE_CONFIG['apiURL'] = 'https://wxapp.transcend-intl.cn/chuangheng-admin';
       // window.SITE_CONFIG['apiURL'] = 'http://192.168.2.19:9021/chuangheng-admin';
       window.SITE_CONFIG['apiURL1'] = 'http://gpu.ringzle.com:8082/iot';
       window.SITE_CONFIG['apiURL2'] = 'http://gpu.ringzle.com:8082/witcarbon-gica';
@@ -49,7 +49,7 @@
       <!-- 集成测试环境 -->
       <% if (process.env.VUE_APP_NODE_ENV==='prod:sit' ) { %>
         <script>
-          window.SITE_CONFIG['apiURL'] = 'https://wxapp.transcend-intl.cn/chuangheng-admin';
+          window.SITE_CONFIG['apiURL'] = 'http://172.16.0.3:443/chuangheng-admin';
           // WebSocket地址
           window.SITE_CONFIG['socketURL'] = 'ws://gpu.ringzle.com/chuangheng-admin/websocket';
         </script>
@@ -57,7 +57,7 @@
           <!-- 验收测试环境 -->
           <% if (process.env.VUE_APP_NODE_ENV==='prod:uat' ) { %>
             <script>
-              window.SITE_CONFIG['apiURL'] = 'https://wxapp.transcend-intl.cn/chuangheng-admin';
+              window.SITE_CONFIG['apiURL'] = 'http://172.16.0.3:443/chuangheng-admin';
               // WebSocket地址
               window.SITE_CONFIG['socketURL'] = 'ws://s.ringzle.com/chuangheng-admin/websocket';
             </script>