Skip to content

Commit

Permalink
Revert "Update start.js (#175)" (#176)
Browse files Browse the repository at this point in the history
This reverts commit f8e0bce.
  • Loading branch information
ZPascal authored Jul 27, 2023
1 parent f8e0bce commit 4150bf0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions start.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
'use strict';
const spawn = require('child_process').spawn;
const path = require("path");
const http = require('http');
const https = require('https');

const get = (url, options = {}) => new Promise((resolve, reject) => ((url.protocol == "https:") ? https : http)
const get = (url, options = {}) => new Promise((resolve, reject) => https
.get(url, options, (res) => {
const chunks = [];
res.on('data', (chunk) => chunks.push(chunk));
Expand Down

0 comments on commit 4150bf0

Please # to comment.