...
|
...
|
@@ -5,7 +5,7 @@ const logger = global.yoho.logger; |
|
|
module.exports = (req, res, next) => {
|
|
|
if (req.path === '/xianyu/index/channel') {
|
|
|
try {
|
|
|
const json = { appop: 'XY_UFO_MAIN_START', param: {} };
|
|
|
const json = { appop: 'XY_UFO_MAIN_START_SERVICE', param: {} };
|
|
|
const xianyu = {
|
|
|
isiOS: /\(i[^;]+;( U;)? CPU.+Mac OS X/i.test(req.get('User-Agent') || ''),
|
|
|
isAndroid: /Android/i.test(req.get('User-Agent') || ''),
|
...
|
...
|
|