fix: trusted origins list not being respsected

This commit is contained in:
Bereket Engida
2024-11-20 18:42:17 +03:00
parent 186ace3b15
commit d14989c5bd
4 changed files with 7 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ export const auth = betterAuth({
appName: "Better Auth Demo",
database: {
dialect,
type: "mysql",
type: process.env.USE_MYSQL ? "mysql" : "sqlite",
},
session: {
cookieCache: {