nsarrazin commited on
Commit
71ca122
·
unverified ·
1 Parent(s): 7213e70

Use bytes for body size limit (#1268)

Browse files
.github/workflows/deploy-prod.yml CHANGED
@@ -51,7 +51,7 @@ jobs:
51
  INCLUDE_DB=false
52
  APP_BASE=/chat
53
  PUBLIC_APP_COLOR=yellow
54
- BODY_SIZE_LIMIT=12288
55
 
56
  deploy:
57
  name: Deploy on prod
 
51
  INCLUDE_DB=false
52
  APP_BASE=/chat
53
  PUBLIC_APP_COLOR=yellow
54
+ BODY_SIZE_LIMIT=12582912
55
 
56
  deploy:
57
  name: Deploy on prod
chart/env/prod.yaml CHANGED
@@ -30,7 +30,7 @@ envVars:
30
  ADDRESS_HEADER: 'X-Forwarded-For'
31
  ALTERNATIVE_REDIRECT_URLS: '["huggingchat://login/callback"]'
32
  APP_BASE: "/chat"
33
- BODY_SIZE_LIMIT: 12288
34
  ENABLE_ASSISTANTS: "true"
35
  ENABLE_ASSISTANTS_RAG: "true"
36
  EXPOSE_API: "true"
 
30
  ADDRESS_HEADER: 'X-Forwarded-For'
31
  ALTERNATIVE_REDIRECT_URLS: '["huggingchat://login/callback"]'
32
  APP_BASE: "/chat"
33
+ BODY_SIZE_LIMIT: 12582912
34
  ENABLE_ASSISTANTS: "true"
35
  ENABLE_ASSISTANTS_RAG: "true"
36
  EXPOSE_API: "true"