15 lines
477 B
TypeScript
15 lines
477 B
TypeScript
![]() |
/** @format */
|
||
|
|
||
|
import configFun from '../build/vite-default.config';
|
||
|
const dirname = __dirname;
|
||
|
const proxy = {
|
||
|
'/api': {
|
||
|
//target: 'http://portal.op.sh.dingcloud.com:30080/',
|
||
|
// target: 'http://portal.cloud.sh.dingcloud.com:30080/',
|
||
|
target: 'http://portal.op.czwh.dingcloud.com:30080/',
|
||
|
//target: 'http://portal.cloud.dingcloud.com:30080/',
|
||
|
changeOrigin: true,
|
||
|
},
|
||
|
};
|
||
|
export default configFun({ dirname, serviceMode: 'paas', baseDir: '../', proxy });
|