Skip to content

Commit

Permalink
examples: fix bug in a session example
Browse files Browse the repository at this point in the history
fixes #1054
  • Loading branch information
dougwilson committed Aug 22, 2014
1 parent 09c045e commit 6d7b4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/session.js
Expand Up @@ -160,8 +160,8 @@ http.createServer(connect()
if (sess.views) {
res.setHeader('Content-Type', 'text/html');
res.write('<p>views: ' + sess.views + '</p>');
res.end();
sess.views++;
res.end();
} else {
sess.views = 1;
res.end('welcome to the browser session demo. refresh!');
Expand Down

0 comments on commit 6d7b4e5

Please sign in to comment.