Skip to content

Commit

Permalink
Merge pull request #96 from deepgram/request-fix
Browse files Browse the repository at this point in the history
Fixing bug in httprequest
  • Loading branch information
briancbarrow authored Dec 6, 2022
2 parents 4425879 + 1ee1ae9 commit 863ae1b
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 863ae1b

Please sign in to comment.