Skip to content

Commit

Permalink
Merge pull request #14 from TariqSaiyad/bugfix/get-index-fix
Browse files Browse the repository at this point in the history
force https on fetch
  • Loading branch information
TariqSaiyad committed Jul 10, 2023
2 parents 74816e7 + d6ca47e commit be0121b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-seals-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"drupal-fetch": patch
---

Force https when building the url
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ export class DrupalFetch {

if (params) url.search = stringify(params.getQueryObject());

url.protocol='https'
return url;
}

Expand Down

0 comments on commit be0121b

Please sign in to comment.