Showing
1 changed file
with
5 additions
and
0 deletions
@@ -51,6 +51,11 @@ module.exports = () => { | @@ -51,6 +51,11 @@ module.exports = () => { | ||
51 | req.url = '/service/systemUpdate'; | 51 | req.url = '/service/systemUpdate'; |
52 | } | 52 | } |
53 | 53 | ||
54 | + if (/^\/sitemap\.xml/.test(req.url)) { | ||
55 | + // sitemap/sitemap.xml | ||
56 | + req.url = '/service/sitemap.xml'; | ||
57 | + } | ||
58 | + | ||
54 | if (/^\/coupon\/couponSend/.test(req.url)) { | 59 | if (/^\/coupon\/couponSend/.test(req.url)) { |
55 | // 获取优惠券 兼容php的url | 60 | // 获取优惠券 兼容php的url |
56 | req.url = '/activity/couponSend'; | 61 | req.url = '/activity/couponSend'; |
-
Please register or login to post a comment