Authored by 沈志敏

增加apple-app-site-association路径

... ... @@ -16,7 +16,9 @@ module.exports = () => {
if (req.path === '/') {
return res.redirect('//m.yohobuy.com');
}
req.url = `/activity${req.url}`;
if (req.path !== '/.well-known/apple-app-site-association') {
req.url = `/activity${req.url}`;
}
} else if (req.subdomains.length) {
switch (req.subdomains[0]) {
case 'guang': // 逛
... ...