chore: vite代理配置

This commit is contained in:
yangsy
2025-12-18 22:04:30 +08:00
parent eb0ee841cf
commit fbe79c4dfc

View File

@@ -105,12 +105,13 @@ const line10ApiProxyList: ProxyItem[] = [
const apiProxyList: ProxyItem[] = [
// { key: '/minio', target: 'http://10.15.128.10:9000', rewrite: ['/minio', ''] },
// { key: '/api', target: 'http://10.15.128.10:18760' },
// { key: '/ws', target: 'ws://10.15.128.10:18103', ws: true },
...line04ApiProxyList,
{ key: '/minio', target: 'http://10.18.128.10:9000', rewrite: ['/minio', ''] },
{ key: '/api', target: 'http://10.18.128.10:18760' },
...line04ApiProxyList,
...line10ApiProxyList,
// { key: '/ws', target: 'ws://10.15.128.10:18103', ws: true },
{ key: '/ws', target: 'ws://10.18.128.10:18103', ws: true },
...line10ApiProxyList,
];
// https://vite.dev/config/