Skip to content

Commit c85d2e3

Browse files
authored
fix: for large source maps, enable sending request body of any size (#7)
1 parent 5bbbea8 commit c85d2e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common/rollbar-api.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ class RollbarAPI {
1313
// Always resolve, regardless of status code.
1414
// When we let axios reject, we end up with less specific error messages.
1515
validateStatus: function (_status) { return true; },
16+
// Let axios send anything, and let the API decide what the max length should be.
17+
maxContentLength: Infinity,
18+
maxBodyLength: Infinity,
1619
});
1720
}
1821

0 commit comments

Comments
 (0)