We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434437d commit c2386b6Copy full SHA for c2386b6
websocket_server/ApiService.js
@@ -12,7 +12,7 @@ import Config from './Config.js'
12
export default class ApiService {
13
14
constructor(tokenGenerator) {
15
- this.agent = (Config.USE_TLS && Config.BYPASS_SSL_VALIDATION) ? new https.Agent({ rejectUnauthorized: false }) : null
+ this.agent = (Config.USE_TLS) ? new https.Agent({ rejectUnauthorized: !Config.BYPASS_SSL_VALIDATION }) : null
16
this.tokenGenerator = tokenGenerator
17
}
18
0 commit comments