chore: 修改api请求代理

This commit is contained in:
2025-12-12 00:11:08 +07:00
parent 0b0239ec2c
commit 98b8b1aab6
5 changed files with 160 additions and 5 deletions

View File

@@ -4,7 +4,9 @@ import { createAuthClient } from "better-auth/vue";
import SignupContent from "./components/signup.vue";
export const authClient = createAuthClient({
baseURL: import.meta.env.VITE_BASE_API_URL, // The base URL of your auth server
fetchOptions: {
credentials: "include",
},
plugins: [emailOTPClient()],
});