Remove extraneous line of code

This commit is contained in:
murgatroid99 2020-01-29 10:21:47 -08:00
parent c5428c5733
commit 4f55a83b67
1 changed files with 0 additions and 1 deletions

View File

@ -263,7 +263,6 @@ export class Subchannel {
this.credentials._getConnectionOptions() || {}; this.credentials._getConnectionOptions() || {};
let addressScheme = 'http://'; let addressScheme = 'http://';
if ('secureContext' in connectionOptions) { if ('secureContext' in connectionOptions) {
connectionOptions.protocol = 'https:';
addressScheme = 'https://'; addressScheme = 'https://';
// If provided, the value of grpc.ssl_target_name_override should be used // If provided, the value of grpc.ssl_target_name_override should be used
// to override the target hostname when checking server identity. // to override the target hostname when checking server identity.