增加apple-app-site-association路径
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -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': // 逛 |
-
Please register or login to post a comment