Skip to content

Commit

Permalink
Fixing bug in httprequest
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljolley committed Dec 6, 2022
1 parent 4425879 commit 1ee1ae9
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 54 deletions.
100 changes: 47 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/httpRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const _requestOptions = (

const options = {
host: apiUrl,
protocol: requireSSL ? "https" : "http",
protocol: requireSSL ? "https:" : "http:",
path,
method,
headers: {
Expand Down

0 comments on commit 1ee1ae9

Please sign in to comment.