Skip to content

Commit

Permalink
Update to the latest version of json-routes
Browse files Browse the repository at this point in the history
- Increases request entity size limit to 50mb
  - Fix #78 and #179
  • Loading branch information
kahmali committed Feb 24, 2016
1 parent 3b17262 commit d4240ad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## Unreleased

#### Changed
- Update to the latest version of `simple:json-routes` (v2.0.1)
- Increases max request size to 50mb ([#78][] and [#179][])


## [v0.8.5] - 2016-02-24

#### Fixed
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,8 @@ We can call our `POST /articles/:id/comments` endpoint the following way. Note t
curl -d "message=Some message details" http://localhost:3000/api/articles/3/comments
```

_**Note: There is a 50mb limit on requests. If you need this limit increased, please file a GitHub Issue.**_

## Authenticating

**Warning: Make sure you're using HTTPS, otherwise this is insecure!**
Expand Down
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Package.onUse(function (api) {
api.use('coffeescript');
api.use('underscore');
api.use('accounts-base@1.2.0');
api.use('simple:json-routes@1.0.4');
api.use('simple:json-routes@=2.0.1');

api.addFiles('lib/auth.coffee', 'server');
api.addFiles('lib/iron-router-error-to-response.js', 'server');
Expand Down

0 comments on commit d4240ad

Please sign in to comment.