fix: OSS客户端直传

This commit is contained in:
2025-12-24 16:05:21 +08:00
parent 84cafd66ae
commit 73f858fc07
5 changed files with 29 additions and 12 deletions

View File

@@ -20,7 +20,8 @@ export default defineConfig(async () => {
rewrite: (path) => path.replace(/^\/im-api/, ''),
// mock代理目标地址
// target: 'https://api.xiaokang88.com/api/admin/',
target: 'http://localhost:12080/api/',
target: 'https://api.ws.g.xiaokang88.com/api/',
// target: 'http://localhost:12080/api/',
// target: 'http://api.xiaokang88.com/api/admin/',
ws: true,
},