调整百度统计反向代理名称
This commit is contained in:
@@ -23,7 +23,7 @@ export default defineConfig({
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
'/baidu': {
|
||||
target: 'https://openapi.baidu.com/',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
|
||||
Reference in New Issue
Block a user