|
@ -84,12 +84,12 @@ export default defineConfig(({ mode }) => { |
|
|
changeOrigin: true, |
|
|
changeOrigin: true, |
|
|
rewrite: (path) => path.replace(/^\/api\/iserver/, "/iserver"), |
|
|
rewrite: (path) => path.replace(/^\/api\/iserver/, "/iserver"), |
|
|
}, |
|
|
}, |
|
|
// "/api/run": {
|
|
|
"/api/run": { |
|
|
// // target: "http://shuili.product.dev.com:30115/",
|
|
|
// target: "http://shuili.product.dev.com:30115/",
|
|
|
// target: "http://172.16.34.80:18082",
|
|
|
target: "http://172.16.34.80:18082", |
|
|
// changeOrigin: true,
|
|
|
changeOrigin: true, |
|
|
// rewrite: (path) => path.replace(/^\/api/, "/tianhui-admin-web"),
|
|
|
rewrite: (path) => path.replace(/^\/api/, "/tianhui-admin-web"), |
|
|
// },
|
|
|
}, |
|
|
"/api": { |
|
|
"/api": { |
|
|
target: "http://shuili.product.dev.com:30115", // 'http://172.16.34.59:18083'
|
|
|
target: "http://shuili.product.dev.com:30115", // 'http://172.16.34.59:18083'
|
|
|
changeOrigin: true, |
|
|
changeOrigin: true, |
|
|