Skip to content

Commit

Permalink
fix(dashboard): use LHC_API_PROTOCOL to define protocol (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
mijailr authored Aug 28, 2024
1 parent 0f61df8 commit fd1ff83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/lhConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { LHConfig } from 'littlehorse-client'
const CONFIG = {
apiHost: process.env.LHC_API_HOST || 'localhost',
apiPort: process.env.LHC_API_PORT || '2023',
protocol: process.env.LHC_API_PROTOCOL || process.env.LHD_OAUTH_ENABLED === 'true' ? 'TLS' : 'PLAINTEXT',
protocol: process.env.LHC_API_PROTOCOL || 'PLAINTEXT',
caCert: process.env.LHC_CA_CERT,
}

Expand Down

0 comments on commit fd1ff83

Please sign in to comment.