bill 2 years ago
parent
commit
bb39d67cdd
2 changed files with 10 additions and 6 deletions
  1. 0 4
      public/static/lib/potree/potree.js.map
  2. 10 2
      vue.config.js

File diff suppressed because it is too large
+ 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',
+            }
+            
         }
     }
 }