feat: email/password auth + email verification + password reset via Resend
This commit is contained in:
parent
4ae2c568c6
commit
ccfd83d16c
2 changed files with 4 additions and 2 deletions
|
|
@ -9,7 +9,10 @@ config({
|
|||
path: resolve(dirname(fileURLToPath(import.meta.url)), "../../../../.env"),
|
||||
});
|
||||
|
||||
export const db = drizzle(process.env["DATABASE_URL"]!, { schema });
|
||||
export const db = drizzle(
|
||||
process.env["DATABASE_URL_LOCAL"] ?? process.env["DATABASE_URL"]!,
|
||||
{ schema },
|
||||
);
|
||||
|
||||
export * from "./models/termModel.js";
|
||||
export * from "./models/lobbyModel.js";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue