11 lines
518 B
TypeScript
11 lines
518 B
TypeScript
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
|
// The Better Auth deployment of this app (AUTH_PROVIDER=convex-better-auth, joint contract §14): a
|
|
// Convex app of its own whose one component is Better Auth, installed locally (./betterAuth) so its
|
|
// schema carries the admin plugin's fields. The app's own data stays where its profile keeps it.
|
|
import { defineApp } from "convex/server"
|
|
import betterAuth from "./betterAuth/convex.config"
|
|
|
|
const app = defineApp()
|
|
app.use(betterAuth)
|
|
export default app
|