mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-29 18:36:34 -05:00
11 lines
218 B
TypeScript
11 lines
218 B
TypeScript
import { betterAuth } from "better-auth";
|
|
|
|
export const auth = betterAuth({
|
|
database: {
|
|
provider: "mysql",
|
|
url:
|
|
process.env.DATABASE_URL ||
|
|
"postgres://postgres:password@localhost:5432/better_auth",
|
|
},
|
|
});
|