mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-03 20:20:35 +00:00
Allow all origins for serverActions in v2
This commit is contained in:
@@ -28,9 +28,7 @@ const config = {
|
||||
|
||||
experimental: {
|
||||
serverActions: {
|
||||
allowedOrigins: process.env.GITBOOK_URL
|
||||
? [new URL(process.env.GITBOOK_URL).hostname]
|
||||
: [],
|
||||
allowedOrigins: ['*'],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user