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,
|
secret: env.PRIVATE_BETTER_AUTH_SECRET,
|
||||||
appName: "Rugplay",
|
appName: "Rugplay",
|
||||||
|
|
||||||
|
trustedOrigins: [
|
||||||
|
env.BETTER_AUTH_URL, "http://rugplay.com", "http://localhost:5173",
|
||||||
|
],
|
||||||
|
|
||||||
database: drizzleAdapter(db, {
|
database: drizzleAdapter(db, {
|
||||||
provider: "pg",
|
provider: "pg",
|
||||||
schema: schema,
|
schema: schema,
|
||||||
|
|
|
||||||
Reference in a new issue