Authored by 郭成尧

'set-cookie-time-24h'

... ... @@ -9,7 +9,8 @@ exports.index = (req, res) => {
let quhUnion = crypto.encryption('', decodeURI(req.query._QYH_UNION));
res.cookie('_QYH_UNION', quhUnion, {
domain: 'yohobuy.com'
domain: 'yohobuy.com',
expires: new Date(Date.now() + 24 * 60 * 60 * 1000)
});
return res.redirect(req.query.target || helpers.urlFormat('/'));
... ...