Skip to content

Commit

Permalink
some very specific shrinkwrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Visnu Pitiyanuvath committed Jun 22, 2012
1 parent 2a18f17 commit 9c81f7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/app.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ app.configure(function() {
// hacky solution for post commit hooks not to check csrf // hacky solution for post commit hooks not to check csrf
// app.use(commits(app)); // app.use(commits(app));


//app.use(express.csrf()); app.use(express.csrf());
app.use(function(req, res, next) { if (req.body) delete req.body._csrf; next(); }); app.use(function(req, res, next) { if (req.body) delete req.body._csrf; next(); });
app.use(express.logger()); app.use(express.logger());
app.use(auth.middleware()); app.use(auth.middleware());
Expand Down
7 changes: 6 additions & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lib": "." "lib": "."
}, },
"engines": { "engines": {
"node": "~0.7.11" "node": "0.7.11"
}, },
"dependencies": { "dependencies": {
"airbrake": "*", "airbrake": "*",
Expand Down

0 comments on commit 9c81f7c

Please sign in to comment.