Allow all origins for serverActions in v2

This commit is contained in:
Samy Pessé
2025-03-03 16:21:05 +01:00
parent 2f03e6acee
commit 979233c5c0
+1 -3
View File
@@ -28,9 +28,7 @@ const config = {
experimental: {
serverActions: {
allowedOrigins: process.env.GITBOOK_URL
? [new URL(process.env.GITBOOK_URL).hostname]
: [],
allowedOrigins: ['*'],
},
},
};