From 42e3694b8c48ef8d7b9cec3a8e48da666bcfcbe3 Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期五, 13 九月 2024 14:49:17 +0800
Subject: [PATCH] 增加权限管理-资源的拖拽功能锁定按钮

---
 config/vite.config.dev.ts |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/config/vite.config.dev.ts b/config/vite.config.dev.ts
index 6e02406..8238ae6 100644
--- a/config/vite.config.dev.ts
+++ b/config/vite.config.dev.ts
@@ -13,6 +13,8 @@
       },
       proxy: {
         '/base': {
+          // target: 'http://aiotlink.com:8189',
+          //target: 'http://192.168.20.116:8089',
           target: 'http://192.168.20.158:8089',
           changeOrigin: true,
           ws: true,
@@ -21,17 +23,17 @@
           // secure: false
         },
         '/api': {
-          // target: 'http://192.168.20.116:1080',
-          // target: 'http://192.168.20.158:8089',
-          target: 'http://aiotlink.com:8189',
+          // target: 'http://aiotlink.com:8189',
+          //target: 'http://192.168.20.116:8089',
+          target: 'http://192.168.20.158:8089',
           changeOrigin: true,
           ws: true,
           // rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''),
         },
         '/api/v1': {
-          // target: 'http://192.168.20.116:1080',
-          // target: 'http://192.168.20.158:8089',
-          target: 'http://aiotlink.com:8189',
+          // target: 'http://aiotlink.com:8189',
+          //target: 'http://192.168.20.116:8089',
+          target: 'http://192.168.20.158:8089',
           changeOrigin: true,
           ws: true,
           // rewrite: (path) => path.replace(new RegExp(`^/basic-api`), ''),

--
Gitblit v1.8.0