Navigation Menu

Skip to content

Commit

Permalink
Remove body-parser because it parses body
Browse files Browse the repository at this point in the history
/d/load want to parse body as stream. body-parser is needless.
  • Loading branch information
kou committed Apr 25, 2014
1 parent c393b29 commit 97c867c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions bin/droonga-http-server
Expand Up @@ -95,8 +95,6 @@ if (options.cacheSize > 0) {
}
}

application.use(bodyParser());

application.droonga({
prefix: '',
defaultDataset: options.defaultDataset,
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -19,7 +19,6 @@
},
"license": "MIT",
"dependencies": {
"body-parser": "*",
"cookie-parser": "*",
"commander": "*",
"express": ">=4.0",
Expand Down

0 comments on commit 97c867c

Please sign in to comment.