This commit is contained in:
qsh
2024-06-23 12:24:27 +08:00
parent 25e13bd975
commit 16e3ac5c6d
17 changed files with 127 additions and 95 deletions

View File

@@ -40,11 +40,11 @@ export default ({ command, mode }) => {
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^/call-api`), '')
},
['/dev-api']: {
['/crm-api']: {
target: env.VITE_BASE_URL,
ws: false,
changeOrigin: true,
rewrite: (path) => path.replace(new RegExp(`^/dev-api`), '')
rewrite: (path) => path.replace(new RegExp(`^/crm-api`), '')
}
}
},