sc
This commit is contained in:
@@ -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`), '')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user