Authored by 毕凯

Merge branch 'feature/activityunlink' into 'master'

增加apple-app-site-association路径



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