This commit is contained in:
2026-01-16 16:02:57 +08:00
parent ad794a1312
commit dbd81fd6fa
6 changed files with 43 additions and 30 deletions

View File

@@ -16,7 +16,7 @@ export default defineConfig({
proxy: {
"/api/v1": {
// target: "http://127.0.0.1:8888", // 本地接口地址
target: "https://www.quannengcha.com", // 本地接口地址
target: "https://www.zhenaicha.com", // 本地接口地址
changeOrigin: true,
rewrite: (path) => path, // 可选:确保路径不被修改
},