Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update bin/webjs

  • Loading branch information...
commit 70f7affae1ae3aa6822274a767a2e0000ac2d25a 1 parent f166f01
@iwillwen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/webjs
View
2  bin/webjs
@@ -246,7 +246,7 @@ var index = [
].join('\r\n');
var router = [
'module.exports = function (web) {',
- ' web.get(\'/hello\' function (req, res) {',
+ ' web.get(\'/hello\', function (req, res) {',
(program.session || program.all ? ' if (isNaN(req.session.times))\r\n req.session.times = 0\r\n else\r\n req.session.times++;' : ''),
' res.render(\'hello\', {',
(program.session || program.all ? ' times: req.session.times,' : ''),
Please sign in to comment.
Something went wrong with that request. Please try again.