Skip to content

Commit

Permalink
removed check (res.finished)
Browse files Browse the repository at this point in the history
  • Loading branch information
jibasig committed Mar 28, 2011
1 parent fc188d1 commit 8d5f605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/prick.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ Prick.prototype.createServer = function(){
}

// if a match isn't found curse with 404
if(res.finished==false)
/* if(res.finished==false)
{
res.writeHead(404, self.requestHeaders);
res.end();
}
};

*/
// to parse url and exorcise it of the evil trailing slash
function cleanUrl(url){
var urlParse = require('url').parse;
Expand Down

0 comments on commit 8d5f605

Please sign in to comment.