nsarrazin HF Staff commited on
Commit
5283de6
·
unverified ·
1 Parent(s): bd7c021

Revert "Revert "Remove `BODY_SIZE_LIMIT`""

Browse files
.github/workflows/deploy-prod.yml CHANGED
@@ -51,8 +51,6 @@ jobs:
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
58
  runs-on: ubuntu-latest
 
51
  INCLUDE_DB=false
52
  APP_BASE=/chat
53
  PUBLIC_APP_COLOR=yellow
 
 
54
  deploy:
55
  name: Deploy on prod
56
  runs-on: ubuntu-latest
Dockerfile CHANGED
@@ -55,7 +55,6 @@ ENV INCLUDE_DB=${INCLUDE_DB}
55
  ARG APP_BASE=
56
  # tailwind requires the primary theme to be known at build time so it must be passed as a build arg
57
  ARG PUBLIC_APP_COLOR=blue
58
- ARG BODY_SIZE_LIMIT=12582912
59
 
60
  # install dotenv-cli
61
  RUN npm install -g dotenv-cli
 
55
  ARG APP_BASE=
56
  # tailwind requires the primary theme to be known at build time so it must be passed as a build arg
57
  ARG PUBLIC_APP_COLOR=blue
 
58
 
59
  # install dotenv-cli
60
  RUN npm install -g dotenv-cli
chart/env/prod.yaml CHANGED
@@ -30,7 +30,6 @@ envVars:
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"
 
30
  ADDRESS_HEADER: 'X-Forwarded-For'
31
  ALTERNATIVE_REDIRECT_URLS: '["huggingchat://login/callback"]'
32
  APP_BASE: "/chat"
 
33
  ENABLE_ASSISTANTS: "true"
34
  ENABLE_ASSISTANTS_RAG: "true"
35
  EXPOSE_API: "true"