Skip to content

Commit

Permalink
feat(ui-admin): not showing secret on the ui (#1778)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebburon authored Oct 24, 2023
1 parent 1a97948 commit 1acb4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui-admin/src/management/checklist/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const Checklist: FC<Props> = props => {
title="Use a Postgres database"
docs="https://botpress.com/docs/building-chatbots/developers/database#how-to-switch-from-sqlite-to-postgressql"
status={getEnv('DATABASE_URL').startsWith('postgres') ? 'success' : 'warning'}
source={[{ type: 'env', key: 'DATABASE_URL', value: getEnv('DATABASE_URL') }]}
source={[{ type: 'env', key: 'DATABASE_URL', value: '**********' }]}
>
By default, Botpress uses an SQLite database, which is not recommended in a production environment. Postgres
is more resilient and allows to run Botpress in cluster mode (using multiple servers to handle the load).
Expand Down Expand Up @@ -155,7 +155,7 @@ export const Checklist: FC<Props> = props => {
title="Enable Redis support"
status={isSet(getEnv('REDIS_URL')) && isSet(getEnv('CLUSTER_ENABLED')) ? 'success' : 'warning'}
source={[
{ type: 'env', key: 'REDIS_URL', value: getEnv('REDIS_URL') },
{ type: 'env', key: 'REDIS_URL', value: '**********' },
{ type: 'env', key: 'CLUSTER_ENABLED', value: getEnv('CLUSTER_ENABLED') },
{ type: 'env', key: 'BP_REDIS_SCOPE', value: getEnv('BP_REDIS_SCOPE') }
]}
Expand Down

0 comments on commit 1acb4c4

Please sign in to comment.