chore: vite代理配置
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user