12345678910111213141516 |
- import type { ServerOptions } from 'vite'
- const server: ServerOptions = {
- proxy: {
- '^/?(api|file)/': {
- // target: 'http://192.168.10.41:8200',
- // target: 'http://192.168.10.178:8200',
- // target: 'http://192.168.10.108:8200',
- // target: 'http://cet-test.markingtool.cn',
- target: 'http://192.168.10.136:80',
- // target: 'http://cet-dev.markingtool.cn:8200',
- },
- },
- }
- export default server
|