diff --git a/src/views/InvitationAgentApply.vue b/src/views/InvitationAgentApply.vue index 1deabb0..a33e3e1 100644 --- a/src/views/InvitationAgentApply.vue +++ b/src/views/InvitationAgentApply.vue @@ -33,6 +33,8 @@ diff --git a/vite.config.js b/vite.config.js index 9bb4731..1a9114e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -15,8 +15,8 @@ export default defineConfig({ strictPort: true, // 如果端口被占用则抛出错误而不是使用下一个可用端口 proxy: { "/api/v1": { - target: "http://127.0.0.1:8888", // 本地接口地址 - // target: "https://www.quannengcha.com", // 线上接口地址 + // target: "http://127.0.0.1:8888", // 本地接口地址 + target: "https://www.quannengcha.com", // 线上接口地址 changeOrigin: true, rewrite: (path) => path, // 可选:确保路径不被修改 },