mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
demo: fix dep
This commit is contained in:
@@ -11,7 +11,6 @@ import { reactInvitationEmail } from "./email/invitation";
|
|||||||
import { LibsqlDialect } from "@libsql/kysely-libsql";
|
import { LibsqlDialect } from "@libsql/kysely-libsql";
|
||||||
import { reactResetPasswordEmail } from "./email/rest-password";
|
import { reactResetPasswordEmail } from "./email/rest-password";
|
||||||
import { resend } from "./email/resend";
|
import { resend } from "./email/resend";
|
||||||
import Database from "better-sqlite3";
|
|
||||||
|
|
||||||
const from = process.env.BETTER_AUTH_EMAIL || "delivered@resend.dev";
|
const from = process.env.BETTER_AUTH_EMAIL || "delivered@resend.dev";
|
||||||
const to = process.env.TEST_EMAIL || "";
|
const to = process.env.TEST_EMAIL || "";
|
||||||
@@ -21,8 +20,6 @@ const libsql = new LibsqlDialect({
|
|||||||
authToken: process.env.TURSO_AUTH_TOKEN || "",
|
authToken: process.env.TURSO_AUTH_TOKEN || "",
|
||||||
});
|
});
|
||||||
|
|
||||||
const database = new Database("auth.db");
|
|
||||||
|
|
||||||
export const auth = betterAuth({
|
export const auth = betterAuth({
|
||||||
database: {
|
database: {
|
||||||
dialect: libsql,
|
dialect: libsql,
|
||||||
|
|||||||
Reference in New Issue
Block a user