...
|
...
|
@@ -155,6 +155,12 @@ app.use((req, res, next) => { |
|
|
domain: 'yohobuy.com',
|
|
|
expires: new Date(Date.now() + 365 * 24 * 60 * 60 * 1000)
|
|
|
});
|
|
|
|
|
|
res.cookie('udid', udid, {
|
|
|
domain: 'yoho.cn',
|
|
|
expires: new Date(Date.now() + 365 * 24 * 60 * 60 * 1000)
|
|
|
});
|
|
|
|
|
|
req.cookies.udid = udid;
|
|
|
}
|
|
|
next();
|
...
|
...
|
|