Skip to content

Commit

Permalink
fix: Ask for uncompressed API response
Browse files Browse the repository at this point in the history
  • Loading branch information
shrink committed Nov 21, 2024
1 parent a47903e commit 9246d41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ipinfoWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ export default class IPinfoWrapper {
const request = Object.assign(
{
timeout: this.timeout,
method: "GET"
method: "GET",
compress: false,
},
init,
{ headers: Object.assign(headers, init.headers) }
Expand Down

0 comments on commit 9246d41

Please sign in to comment.