Skip to content

Commit 1ee1ae9

Browse files
committed
Fixing bug in httprequest
1 parent 4425879 commit 1ee1ae9

2 files changed

Lines changed: 48 additions & 54 deletions

File tree

package-lock.json

Lines changed: 47 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/httpRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const _requestOptions = (
2020

2121
const options = {
2222
host: apiUrl,
23-
protocol: requireSSL ? "https" : "http",
23+
protocol: requireSSL ? "https:" : "http:",
2424
path,
2525
method,
2626
headers: {

0 commit comments

Comments
 (0)