This commit is contained in:
2026-06-19 11:28:03 +08:00
parent b0ee15d8c1
commit a58ccb010d
10 changed files with 565 additions and 611 deletions

View File

@@ -10,8 +10,8 @@ export default defineConfig(async () => {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
// mock代理目标地址
// target: 'http://localhost:8888/api',
target: 'https://www.onecha.cn/api',
target: 'http://localhost:8888/api',
// target: 'https://www.onecha.cn/api',
ws: true,
},
},