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

Commit

Permalink
Merge pull request #56 from nooitaf/devel
Browse files Browse the repository at this point in the history
removes connect 3.0 deprication warning/errors
  • Loading branch information
Sashko Stubailo committed Aug 5, 2015
2 parents b9a606d + 8f244a6 commit 4108106
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/json-routes/json-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ var connectRoute = Npm.require('connect-route');

JsonRoutes = {};

WebApp.rawConnectHandlers.use(connect.bodyParser());
WebApp.rawConnectHandlers.use(connect.urlencoded());
WebApp.rawConnectHandlers.use(connect.json());
WebApp.rawConnectHandlers.use(connect.query());

// Handler for adding middleware before an endpoint (JsonRoutes.middleWare
Expand Down

0 comments on commit 4108106

Please sign in to comment.