File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed
Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,7 @@ export const auth = betterAuth({
4848 provider : 'postgresql' ,
4949 } ) ,
5050 baseURL : process . env . BETTER_AUTH_URL ,
51- trustedOrigins : [
52- // 'http://localhost:3000',
53- 'https://app.trycomp.ai' ,
54- // 'https://app.staging.trycomp.ai',
55- // 'https://portal.trycomp.ai',
56- // 'https://portal.staging.trycomp.ai',
57- ] ,
51+ trustedOrigins : [ 'http://localhost:3000' , 'https://*.trycomp.ai' ] ,
5852 emailAndPassword : {
5953 enabled : true ,
6054 } ,
Original file line number Diff line number Diff line change @@ -15,13 +15,7 @@ export const auth = betterAuth({
1515 // It's important so we can use custom IDs specified in Prisma Schema.
1616 generateId : false ,
1717 } ,
18- trustedOrigins : [
19- // 'http://localhost:3000',
20- 'https://app.trycomp.ai' ,
21- // 'https://app.staging.trycomp.ai',
22- // 'https://portal.trycomp.ai',
23- // 'https://portal.staging.trycomp.ai',
24- ] ,
18+ trustedOrigins : [ 'http://localhost:3000' , 'https://*.trycomp.ai' ] ,
2519 secret : process . env . AUTH_SECRET ! ,
2620 plugins : [
2721 organization ( {
You can’t perform that action at this time.
0 commit comments