Update auth.ts
This commit is contained in:
parent
eaf63fc6b3
commit
2bedc629ee
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ export const auth = betterAuth({
|
|||
secret: env.PRIVATE_BETTER_AUTH_SECRET,
|
||||
appName: "Rugplay",
|
||||
|
||||
trustedOrigins: [
|
||||
env.BETTER_AUTH_URL, "http://rugplay.com", "http://localhost:5173",
|
||||
],
|
||||
|
||||
database: drizzleAdapter(db, {
|
||||
provider: "pg",
|
||||
schema: schema,
|
||||
|
|
|
|||
Reference in a new issue