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',
+            }
+            
         }
     }
 }