+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提 交
+
+
+
+
+
+
+
+
diff --git a/vite.config.js b/vite.config.js
index 7331f10..46aa3af 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -40,11 +40,11 @@ export default ({ command, mode }) => {
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^/call-api`), '')
},
- ['/crm-api']: {
+ ['/crm-api/']: {
target: env.VITE_BASE_URL,
ws: false,
changeOrigin: true,
- rewrite: (path) => path.replace(new RegExp(`^/crm-api`), '')
+ rewrite: (path) => path.replace(new RegExp(`^/crm-api/`), '')
},
['/applet-api']: {
target: env.VITE_APPLET_URL,
@@ -57,6 +57,12 @@ export default ({ command, mode }) => {
ws: false,
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^/tiku-api`), '')
+ },
+ ['/out-api']: {
+ target: 'http://cloud.ahfkbg.com',
+ ws: false,
+ changeOrigin: true,
+ rewrite: (path) => path.replace(new RegExp(`^/out-api`), '')
}
}
},