样式修改
site-dist-deploy / build-and-deploy (push) Successful in 1m12s

This commit is contained in:
2026-01-05 01:15:16 -08:00
parent 3578d3fb4a
commit 27ebf5adc5
7 changed files with 82 additions and 35 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export default defineConfig({
'/api/v1': {
target: 'https://h.hifastapp.com',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
// rewrite: (path) => path.replace(/^\/api/, ''),
autoRewrite: true,
// 3. 关键:将路径重写,在前面补上 /api/v1
// 验证请求是否进入代理,可以在终端看到打印