Skip to content

Commit

Permalink
Some whitespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
shanebo committed Dec 7, 2015
1 parent da525d1 commit 34f3b35
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/middleware/csrf.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ CSRF.prototype = {

if (tokenMatches()) {
next();

} else {
request.csrfToken(true);
response.send(401);
Expand Down
1 change: 0 additions & 1 deletion lib/middleware/memcache.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Memcache.prototype = {
var urls = app.memcache.urls.map(function(url){
return url.replace('?', '\\?');
});
console.log(urls);
app.memcache.regex = new RegExp('^' + urls.join('$|^') + '$');
},

Expand Down

0 comments on commit 34f3b35

Please sign in to comment.