feat: 更新环境配置,调整 API URL 和库地址;添加 PWA 安装支持;更新路由和组件定义
This commit is contained in:
@@ -15,6 +15,10 @@ export const authClient = createAuthClient({
|
||||
baseURL,
|
||||
fetchOptions: {
|
||||
credentials: "include",
|
||||
auth: {
|
||||
type: "Bearer",
|
||||
token: () => localStorage.getItem("user-token") || "",
|
||||
},
|
||||
},
|
||||
plugins: [emailOTPClient(), phoneNumberClient(), usernameClient()],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user