This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
||||
// Better Auth's routes on this deployment's site URL. A browser never calls them directly: the app's
|
||||
// same-origin proxy (apps/web/app/api/auth) forwards the few a browser needs.
|
||||
import { httpRouter } from "convex/server"
|
||||
import { authComponent, createAuth } from "./auth"
|
||||
|
||||
const http = httpRouter()
|
||||
authComponent.registerRoutes(http, createAuth)
|
||||
export default http
|
||||
Reference in New Issue
Block a user