@@ -2,11 +2,8 @@ import type { ServerOptions } from 'vite'
const server: ServerOptions = {
proxy: {
- '^/?api/': {
+ '^/?(api|file)/': {
- target: 'http://192.168.10.41:7201',
+ target: 'http://192.168.10.41:8200',
- },
- '^/?file/': {
- target: 'http://192.168.10.41:7200',
},
}