diff options
Diffstat (limited to 'apps/web/app/api/assets/route.ts')
| -rw-r--r-- | apps/web/app/api/assets/route.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/app/api/assets/route.ts b/apps/web/app/api/assets/route.ts index 838bcce1..0bb2f778 100644 --- a/apps/web/app/api/assets/route.ts +++ b/apps/web/app/api/assets/route.ts @@ -11,7 +11,7 @@ const SUPPORTED_ASSET_TYPES = new Set([ "image/webp", ]); -const MAX_UPLOAD_SIZE_BYTES = 4 * 1024 * 1024; +const MAX_UPLOAD_SIZE_BYTES = serverConfig.maxAssetSizeMb * 1024 * 1024; export const dynamic = "force-dynamic"; export async function POST(request: Request) { |
