调整百度统计反向代理名称

This commit is contained in:
宇阳
2025-01-02 16:05:32 +08:00
parent 107ae7e418
commit ed72d2f5b4
2 changed files with 2 additions and 2 deletions

View File

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