Permalink
Browse files

fixed https issue

  • Loading branch information...
1 parent de37158 commit 063d1235deebcbd2eae2263e15d304eca2c1287d @remy committed Mar 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 server/index.js
View
@@ -142,11 +142,12 @@ function routes(app) {
} else {
res.writeHead(302, {'Location': links[id].href });
}
- res.end('');
+ res.end();
});
app.get('/link', function (req, res) {
res.writeHead(302, {'Location': links[links.length-1].href });
+ res.end();
});
app.get('/link/save', function (req, res) {

0 comments on commit 063d123

Please sign in to comment.