fix: body exeeded undefined limit (#679)

* fixed bodySizeLimit

* fix: update marketing config

---------

Co-authored-by: Lucas Smith <me@lucasjamessmith.me>
This commit is contained in:
david-loe
2023-11-30 08:46:33 +01:00
committed by GitHub
parent 252dd0008c
commit 1d79ebbda3
2 changed files with 6 additions and 2 deletions

View File

@ -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: [

View File

@ -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: [