Skip to content

The Open Source DocuSign Alternative.

fix: body exeeded undefined limit (#679)

david-loe1d79ebbda3c3
diff --git a/apps/marketing/next.config.js b/apps/marketing/next.config.js
index 41a80c12c..ef89f84b5 100644
--- a/apps/marketing/next.config.js
+++ b/apps/marketing/next.config.js
@@ -20,8 +20,10 @@ const FONT_CAVEAT_BYTES = fs.readFileSync(
/** @type {import('next').NextConfig} */
const config = {
experimental: {
- serverActionsBodySizeLimit: '10mb',
outputFileTracingRoot: path.join(__dirname, '../../'),
+ serverActions: {
+ bodySizeLimit: '50mb'
+ },
},
reactStrictMode: true,
transpilePackages: [
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 97af05ab5..29a7397c0 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -22,7 +22,9 @@ const config = {
output: process.env.DOCKER_OUTPUT ? 'standalone' : undefined,
experimental: {
outputFileTracingRoot: path.join(__dirname, '../../'),
- serverActionsBodySizeLimit: '50mb',
+ serverActions: {
+ bodySizeLimit: '50mb'
+ },
},
reactStrictMode: true,
transpilePackages: [