Skip to content

Commit 4e6b94a

Browse files
committed
Allow origins for running next behind nginx
1 parent 6d46885 commit 4e6b94a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

next.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ const nextConfig = {
1111
position: 'bottom-right',
1212
},
1313
output: 'standalone',
14+
experimental: {
15+
serverActions: {
16+
allowedOrigins: ['payload:3000', 'localhost'],
17+
},
18+
},
1419
}
1520

1621
const withNextIntl = createNextIntlPlugin()

0 commit comments

Comments
 (0)