0.3 增加登录模块
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { httpRouter } from "convex/server";
|
||||
import { auth } from "./auth";
|
||||
|
||||
// 说明:
|
||||
// - Convex Auth 需要通过 HTTP Routes 提供回调/授权等端点(即使你只用密码登录,也建议保持该配置)。
|
||||
// - 该文件是 Convex 的约定入口(convex/http.ts)。
|
||||
|
||||
const http = httpRouter();
|
||||
|
||||
auth.addHttpRoutes(http);
|
||||
|
||||
export default http;
|
||||
|
||||
Reference in New Issue
Block a user