Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from clint-tseng/cxlt/request-size
Browse files Browse the repository at this point in the history
Raise the maximum request payload size to 5MB
  • Loading branch information
issa-tseng committed Jul 28, 2017
2 parents 94c3966 + 775237f commit 1f198e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/server.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/server.ls
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ server = require(\express)()

{ convert-form, serialize-form } = require('./convert')

server.use(body-parser.json())
server.use(body-parser.json({ limit: '5mb' }))

server.post \/convert, (request, response) ->
try
Expand Down

0 comments on commit 1f198e6

Please sign in to comment.