Permalink
Browse files

redirect ycdemo straight to /player/

  • Loading branch information...
1 parent 1ed989f commit 40dbddfcaa242b29cad1ab099b9acb298f0be13c @pkrumins committed Oct 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/web.js
View
@@ -67,7 +67,7 @@ module.exports = function (app, users) {
req.session.regenerate(function (err) {
if (err) throw err;
req.session.name = 'ycdemo';
- res.render('pages/index.html', { locals : locals(req, {}) });
+ res.redirect('/player/');
});
});

0 comments on commit 40dbddf

Please sign in to comment.