Skip to content

Commit fc92e5e

Browse files
authored
fix: restore TLS certificate validation (#1717)
1 parent 57246e3 commit fc92e5e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎src/utils/adoptiumApi.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license.
33
import axios from "axios";
4-
import * as https from "https";
5-
6-
// workaround: certificate expired, will be fixed when vscode adopts Electron v15.1.0
7-
// see: https://github.com/node-fetch/node-fetch/issues/568#issuecomment-932435180
8-
https.globalAgent.options.rejectUnauthorized = false;
94

105
/**
116
*

0 commit comments

Comments
 (0)