Authored by 沈志敏

增加apple-app-site-association路径

@@ -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 + if (req.path !== '/.well-known/apple-app-site-association') {
19 req.url = `/activity${req.url}`; 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': // 逛