Skip to content

Commit ad2c4e8

Browse files
feat(app): add app.liambx.com to server action allowed origins
As part of the subdomain migration (Issue #5234), add app.liambx.com to the allowed origins for Next.js server actions to prepare for the transition from liambx.com/app/* to app.liambx.com. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 086c698 commit ad2c4e8

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)