victor HF Staff commited on
Commit
93787c3
·
1 Parent(s): 56ab94a

Remove backticks from JSON values in .env file

Browse files

Updated the .env file to remove unnecessary backticks from JSON array and object values for ALLOWED_USER_EMAILS, ALLOWED_USER_DOMAINS, ALTERNATIVE_REDIRECT_URLS, and USAGE_LIMITS. This change ensures proper parsing of these environment variables.

Files changed (1) hide show
  1. .env +4 -4
.env CHANGED
@@ -85,11 +85,11 @@ PUBLIC_LLM_ROUTER_ALIAS_ID=omni
85
  OPENID_CONFIG=
86
  MESSAGES_BEFORE_LOGIN=# how many messages a user can send in a conversation before having to login. set to 0 to force login right away
87
  # if it's defined, only these emails will be allowed to use login
88
- ALLOWED_USER_EMAILS=`[]`
89
  # If it's defined, users with emails matching these domains will also be allowed to use login
90
- ALLOWED_USER_DOMAINS=`[]`
91
  # valid alternative redirect URLs for OAuth, used for HuggingChat apps
92
- ALTERNATIVE_REDIRECT_URLS=`[]`
93
  ### Cookies
94
  # name of the cookie used to store the session
95
  COOKIE_NAME=hf-chat
@@ -131,7 +131,7 @@ ENABLE_DATA_EXPORT=true
131
  # messagesPerMinute: number, # how many messages per minute
132
  # tools: number # how many tools
133
  # }
134
- USAGE_LIMITS=`{}`
135
 
136
  ### HuggingFace specific ###
137
  ## Feature flag & admin settings
 
85
  OPENID_CONFIG=
86
  MESSAGES_BEFORE_LOGIN=# how many messages a user can send in a conversation before having to login. set to 0 to force login right away
87
  # if it's defined, only these emails will be allowed to use login
88
+ ALLOWED_USER_EMAILS=[]
89
  # If it's defined, users with emails matching these domains will also be allowed to use login
90
+ ALLOWED_USER_DOMAINS=[]
91
  # valid alternative redirect URLs for OAuth, used for HuggingChat apps
92
+ ALTERNATIVE_REDIRECT_URLS=[]
93
  ### Cookies
94
  # name of the cookie used to store the session
95
  COOKIE_NAME=hf-chat
 
131
  # messagesPerMinute: number, # how many messages per minute
132
  # tools: number # how many tools
133
  # }
134
+ USAGE_LIMITS={}
135
 
136
  ### HuggingFace specific ###
137
  ## Feature flag & admin settings