Skip to content

Commit 6869872

Browse files
authored
fix: Ask for an uncompressed API response (#96)
1 parent a47903e commit 6869872

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ipinfoWrapper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ export default class IPinfoWrapper {
112112
const request = Object.assign(
113113
{
114114
timeout: this.timeout,
115-
method: "GET"
115+
method: "GET",
116+
compress: false
116117
},
117118
init,
118119
{ headers: Object.assign(headers, init.headers) }

0 commit comments

Comments
 (0)