Skip to content

Commit

Permalink
fix: Accept-Encoding named Brotli instead of br
Browse files Browse the repository at this point in the history
  • Loading branch information
UnschooledGamer authored May 13, 2024
1 parent ec7de7c commit 54156ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/src/Node/Rest.js

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

2 changes: 1 addition & 1 deletion src/Node/Rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class Rest {
Authorization: this.password,
};

if (this.isNodeLink) headers["Accept-Encoding"] = "brotli, gzip, deflate";
if (this.isNodeLink) headers["Accept-Encoding"] = "br, gzip, deflate";

return headers;
}
Expand Down

0 comments on commit 54156ca

Please sign in to comment.