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