mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-05 02:58:36 -06:00
fix: allow server actions on webapp url
This commit is contained in:
@@ -109,9 +109,9 @@ const nextConfig = {
|
||||
|
||||
// set actions allowed origins
|
||||
if (process.env.WEBAPP_URL) {
|
||||
/* nextConfig.experimental.serverActions = {
|
||||
nextConfig.experimental.serverActions = {
|
||||
allowedOrigins: [process.env.WEBAPP_URL.replace(/https?:\/\//, "")],
|
||||
}; */
|
||||
};
|
||||
nextConfig.images.remotePatterns.push({
|
||||
protocol: "https",
|
||||
hostname: getHostname(process.env.WEBAPP_URL),
|
||||
|
||||
Reference in New Issue
Block a user