From 001a5172027cc4a6e5c9098111b3244884b2a07c Mon Sep 17 00:00:00 2001 From: Nathan Sarrazin Date: Tue, 11 Jun 2024 10:53:59 +0200 Subject: [PATCH] Use bytes for body size limit (#1268) --- .github/workflows/deploy-prod.yml | 2 +- chart/env/prod.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index acfd2b9a8b9..c2c327e30b5 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -51,7 +51,7 @@ jobs: INCLUDE_DB=false APP_BASE=/chat PUBLIC_APP_COLOR=yellow - BODY_SIZE_LIMIT=12288 + BODY_SIZE_LIMIT=12582912 deploy: name: Deploy on prod diff --git a/chart/env/prod.yaml b/chart/env/prod.yaml index 93879d6e639..1c9c12dfe75 100644 --- a/chart/env/prod.yaml +++ b/chart/env/prod.yaml @@ -30,7 +30,7 @@ envVars: ADDRESS_HEADER: 'X-Forwarded-For' ALTERNATIVE_REDIRECT_URLS: '["huggingchat://login/callback"]' APP_BASE: "/chat" - BODY_SIZE_LIMIT: 12288 + BODY_SIZE_LIMIT: 12582912 ENABLE_ASSISTANTS: "true" ENABLE_ASSISTANTS_RAG: "true" EXPOSE_API: "true"