fix: remove db falt config (#57)

* remove db object config

* change docs
This commit is contained in:
Bereket Engida
2024-10-01 17:18:53 +03:00
committed by GitHub
parent 9fdffd2d3f
commit d239682767
51 changed files with 264 additions and 589 deletions

View File

@@ -1,15 +0,0 @@
import { betterAuth } from "better-auth";
import { organization, twoFactor } from "better-auth/plugins";
export const auth = betterAuth({
baseURL: "http://localhost:3000",
database: {
provider: "sqlite",
url: "./db.sqlite",
},
plugins: [
twoFactor({
issuer: "My App",
}),
organization(),
],
});