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