Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

redirect ycdemo straight to /player/

  • Loading branch information...
commit 40dbddfcaa242b29cad1ab099b9acb298f0be13c 1 parent 1ed989f
@pkrumins authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/web.js
View
2  lib/web.js
@@ -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/');
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.