Add Better Auth admin authentication
This commit is contained in:
9
convex/http.ts
Normal file
9
convex/http.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { httpRouter } from "convex/server";
|
||||
|
||||
import { authComponent, createAuth } from "./betterAuth/auth";
|
||||
|
||||
const http = httpRouter();
|
||||
|
||||
authComponent.registerRoutes(http, createAuth);
|
||||
|
||||
export default http;
|
||||
Reference in New Issue
Block a user