mirror of
https://github.com/ivabus/gui
synced 2025-06-08 00:00:27 +03:00
enable unsecure curl temporarily (#531)
Co-authored-by: neil molina <neil@neils-MacBook-Pro.local>
This commit is contained in:
parent
4d0c611b1f
commit
33d59a7bab
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ async function initializeTeaCliInternal(): Promise<string> {
|
||||||
fs.mkdirSync(destinationDirectory, { recursive: true });
|
fs.mkdirSync(destinationDirectory, { recursive: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
const curlCommand = `curl -L -o "${cliBinPath}" "${binaryUrl}"`;
|
// replace this with max's pr
|
||||||
|
const curlCommand = `curl --insecure -L -o "${cliBinPath}" "${binaryUrl}"`;
|
||||||
|
|
||||||
const exists = fs.existsSync(cliBinPath);
|
const exists = fs.existsSync(cliBinPath);
|
||||||
if (exists) {
|
if (exists) {
|
||||||
|
|
Loading…
Reference in a new issue