接口对接
site-dist-deploy / build-and-deploy (push) Successful in 1m13s

This commit is contained in:
2026-01-31 18:48:59 -08:00
parent 2a7e851cda
commit ed2cd443ba
6 changed files with 157 additions and 71 deletions
+2 -2
View File
@@ -19,9 +19,9 @@ export default defineConfig({
// 将所有以 /api 开头的请求转发到目标服务器
// 1. 匹配所有以 /public 开头的请求
'/api/v1': {
target: 'https://hifastvpn.com',
target: 'https://tapi.hifast.biz/',
changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, ''),
rewrite: (path) => path.replace(/^\/api/, ''),
autoRewrite: true,
},
},