salix/@salix-services/app/server/boot/routes.js

18 lines
351 B
JavaScript
Raw Normal View History

2016-11-04 10:32:27 +00:00
/*module.exports = function(app) {
var uid = require('uid2');
// Install a "/ping" route that returns "pong"
app.get('/login', function(req, res) {
var uid(64,function(){
});
var token = req.query.access_token;
if (token) {
return res.redirect('/');
}
else {
return res.redirect('/login');
}
});
};
*/