code4eat преди 2 години
родител
ревизия
b79dedc098
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      config/proxy.ts

+ 2 - 2
config/proxy.ts

@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2022-01-07 10:00:52
- * @LastEditTime: 2023-04-20 10:39:31
+ * @LastEditTime: 2023-04-20 13:31:09
  * @LastEditors: code4eat awesomedema@gmail.com
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  * @FilePath: /KC-MiddlePlatform/config/proxy.ts
@@ -26,7 +26,7 @@ const proxy: { [key: string]: any } = {
       pathRewrite: { '^/api': '' },
     },
     '/view': {
-      target: 'http://47.97.190.5:8807/view',
+      target: 'http://47.97.190.5:8807',
       changeOrigin: true,
       // pathRewrite: { '^/view': '' },
     },