Skip to content

Commit

Permalink
set maxBodyLength on axios, bump semver patch (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanok authored and arweave-kyle committed Nov 25, 2019
1 parent 0b2c1ec commit 650e8eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arweave",
"version": "1.6.0",
"version": "1.6.1",
"description": "Arweave JS client library",
"main": "index.js",
"files": [
Expand Down
3 changes: 2 additions & 1 deletion src/common/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ export default class Api {
baseURL: `${this.config.protocol}://${this.config.host}:${
this.config.port
}`,
timeout: this.config.timeout
timeout: this.config.timeout,
maxContentLength: 1024 * 1024 * 512
});

if (this.config.logging) {
Expand Down

0 comments on commit 650e8eb

Please sign in to comment.