Skip to content

Commit 979233c

Browse files
committed
Allow all origins for serverActions in v2
1 parent 2f03e6a commit 979233c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/gitbook-v2/open-next.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ const config = {
2828

2929
experimental: {
3030
serverActions: {
31-
allowedOrigins: process.env.GITBOOK_URL
32-
? [new URL(process.env.GITBOOK_URL).hostname]
33-
: [],
31+
allowedOrigins: ['*'],
3432
},
3533
},
3634
};

0 commit comments

Comments
 (0)