From bd99b4e35691a560f27b53659e41576106d44134 Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Sat, 9 Nov 2024 16:32:50 -0800 Subject: [PATCH] improvement: reduce json max size limit based of aws policy limit --- backend/src/ee/routes/v1/project-template-router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/ee/routes/v1/project-template-router.ts b/backend/src/ee/routes/v1/project-template-router.ts index 611eab7ab..5b115ab4e 100644 --- a/backend/src/ee/routes/v1/project-template-router.ts +++ b/backend/src/ee/routes/v1/project-template-router.ts @@ -12,7 +12,7 @@ import { verifyAuth } from "@app/server/plugins/auth/verify-auth"; import { UnpackedPermissionSchema } from "@app/server/routes/santizedSchemas/permission"; import { AuthMode } from "@app/services/auth/auth-type"; -const MAX_JSON_SIZE_LIMIT_IN_BYTES = 1_048_576; // 1MB +const MAX_JSON_SIZE_LIMIT_IN_BYTES = 32_768; const SlugSchema = z .string()