feat: huaxing-AI智能BAS系统
This commit is contained in:
15
hx-ai-intelligent/vite.config.ts
Normal file
15
hx-ai-intelligent/vite.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import configFun from '../build/vite-default.config';
|
||||
const dirname = __dirname;
|
||||
const proxy = {
|
||||
'/qa': {
|
||||
target: 'http://100.86.13.179:8080/qa',
|
||||
// target: 'http://100.86.13.206:8081/qa',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/qa/, ''),
|
||||
},
|
||||
'/carbon_emission': {
|
||||
target: 'http://140.210.143.1:14492',
|
||||
changeOrigin: true,
|
||||
},
|
||||
};
|
||||
export default configFun({ dirname, proxy, serviceMode: 'saas', baseDir: '../' });
|
Reference in New Issue
Block a user