This commit is contained in:
qsh
2025-02-28 19:09:18 +08:00
parent 06681658fc
commit 0d99fbac80
18 changed files with 1883 additions and 2 deletions

View File

@@ -45,6 +45,18 @@ export default ({ command, mode }) => {
ws: false,
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^/crm-api`), '')
},
['/applet-api']: {
target: env.VITE_APPLET_URL,
ws: false,
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^/applet-api`), '')
},
['/tiku-api']: {
target: env.VITE_TIKU_URL,
ws: false,
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^/tiku-api`), '')
}
}
},