mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 12:15:41 -04:00
chore(branding): fix github org url
This commit is contained in:
2
index.js
2
index.js
@@ -81,7 +81,7 @@ async function downloadFile(url, filePath) {
|
||||
const isHttps = new URL(url).protocol === 'https:';
|
||||
const httpModule = isHttps ? require('https') : require('http');
|
||||
const file = fs.createWriteStream(filePath);
|
||||
|
||||
|
||||
httpModule
|
||||
.get(url, (response) => {
|
||||
if (response.statusCode !== 200) {
|
||||
|
||||
Reference in New Issue
Block a user