mirror of
https://gitee.com/bootx/dax-pay-ui
synced 2026-09-01 02:19:39 +08:00
21 lines
418 B
TypeScript
21 lines
418 B
TypeScript
import { defineConfig } from '@vben/vite-config';
|
|
|
|
export default defineConfig(async () => {
|
|
return {
|
|
application: {},
|
|
vite: {
|
|
server: {
|
|
open: false,
|
|
proxy: {
|
|
'/api': {
|
|
changeOrigin: true,
|
|
rewrite: (path) => path.replace(/^\/api/, ''),
|
|
target: 'http://localhost:9999',
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
});
|