解决已知问题

This commit is contained in:
宇阳
2025-01-19 20:48:15 +08:00
parent b12519b330
commit b6b1732fcd
8 changed files with 12 additions and 19 deletions

View File

@@ -26,7 +26,7 @@ export default defineConfig({
'/baidu': {
target: 'https://openapi.baidu.com/',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
rewrite: (path) => path.replace(/^\/baidu/, ''),
},
'/qiniu': {
target: 'https://rsf.qiniuapi.com/',