From ec97c6a7d0ee1b16d08aa5ea85b34776d86af84e Mon Sep 17 00:00:00 2001
From: dengming <dengming@ctfo.com>
Date: 星期四, 10 三月 2022 11:33:51 +0800
Subject: [PATCH] 修复云端录像播放和下载路径错误的问题

---
 web_src/config/index.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/web_src/config/index.js b/web_src/config/index.js
index 5ab5eac..cec91b8 100644
--- a/web_src/config/index.js
+++ b/web_src/config/index.js
@@ -18,6 +18,13 @@
           '^/debug': '/'
         }
       },
+      '/static/snap': {
+        target: 'http://localhost:18080',
+        changeOrigin: true,
+        // pathRewrite: {
+        //   '^/static/snap': '/static/snap'
+        // }
+      },
 
     },
 

--
Gitblit v1.8.0