feat: 更新环境配置,调整 API URL 和库地址;添加 PWA 安装支持;更新路由和组件定义

This commit is contained in:
2026-01-05 14:17:47 +07:00
parent fd5f835e5c
commit 83c16fddd6
15 changed files with 66 additions and 39 deletions

View File

@@ -15,6 +15,10 @@ export const authClient = createAuthClient({
baseURL,
fetchOptions: {
credentials: "include",
auth: {
type: "Bearer",
token: () => localStorage.getItem("user-token") || "",
},
},
plugins: [emailOTPClient(), phoneNumberClient(), usernameClient()],
});