bill 2 年之前
父节点
当前提交
bb39d67cdd
共有 2 个文件被更改,包括 10 次插入6 次删除
  1. 0 4
      public/static/lib/potree/potree.js.map
  2. 10 2
      vue.config.js

文件差异内容过多而无法显示
+ 0 - 4
public/static/lib/potree/potree.js.map


+ 10 - 2
vue.config.js

@@ -12,16 +12,24 @@ if (isDev) {
 const devServer = {
     disableHostCheck: true,
     headers: {
+        Connection: 'keep-alive',
         'Cache-Control': 'no-store'
     },
     proxy: {
         '/service': {
             target: 'https://test.4dkankan.com/',
-            changeOrigin: true
+            changeOrigin: true,
+            headers: {
+                Connection: 'keep-alive',
+            }
         },
         '/smart-site': {
             target: 'https://test.4dkankan.com/',//'http://192.168.0.152:8111', //
-            changeOrigin: true
+            changeOrigin: true,
+            headers: {
+                Connection: 'keep-alive',
+            }
+            
         }
     }
 }