Skip to content

Commit ddc476a

Browse files
authored
Merge pull request #3197 from liam-hq/subdomain-migration-phase2
feat(app): add app.liambx.com to server action allowed origins
2 parents f0cbae7 + ad2c4e8 commit ddc476a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

frontend/apps/app/next.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const nextConfig: NextConfig = {
2323
serverActions: {
2424
allowedOrigins:
2525
process.env.VERCEL_ENV === 'production'
26-
? ['liambx.com', 'liam-erd-web.vercel.app']
26+
? ['liambx.com', 'liam-erd-web.vercel.app', 'app.liambx.com']
2727
: undefined,
2828
},
2929
},
@@ -37,6 +37,10 @@ const nextConfig: NextConfig = {
3737
protocol: 'https',
3838
hostname: 'liam-erd-web.vercel.app',
3939
},
40+
{
41+
protocol: 'https',
42+
hostname: 'app.liambx.com',
43+
},
4044
],
4145
},
4246
serverExternalPackages: ['@electric-sql/pglite'],

0 commit comments

Comments
 (0)