We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 663e1f1 commit caa4a25Copy full SHA for caa4a25
1 file changed
src/client/proxy/proxy-settings.ts
@@ -15,10 +15,6 @@ export interface ProxySettingConfiguration {
15
credentials: ProxyCredentials | null;
16
}
17
18
-function allowInsecureRequest() {
19
- process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
20
-}
21
-
22
@Injectable()
23
export class ProxySettingsManager {
24
private _settings = new BehaviorSubject<ProxySettingConfiguration | null>(null);
@@ -36,7 +32,7 @@ export class ProxySettingsManager {
36
32
return this._settings.pipe(
37
33
filter(x => x !== null),
38
34
take(1),
39
- map(x => x!.settings),
35
+ map(x => x?.settings),
40
).toPromise();
41
42
0 commit comments