add trustedOrigins to auth
This commit is contained in:
@@ -2,5 +2,10 @@ import { betterAuth } from "better-auth";
|
||||
|
||||
export const auth = betterAuth({
|
||||
secret: process.env.BETTER_AUTH_SECRET,
|
||||
url: process.env.BETTER_AUTH_URL
|
||||
url: process.env.BETTER_AUTH_URL,
|
||||
trustedOrigins: [
|
||||
"https://app.lemonspace.io",
|
||||
"http://localhost:3000",
|
||||
],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user