...
|
...
|
@@ -19,6 +19,7 @@ const IP_WHITE_LIST = [ |
|
|
'218.94.75.58',
|
|
|
'218.94.75.50',
|
|
|
'218.94.77.166',
|
|
|
'10.66.70.21', // 联盟 生产 IP
|
|
|
'222.73.196.18' // B站合作方单击次数快加白名单
|
|
|
];
|
|
|
|
...
|
...
|
@@ -30,7 +31,24 @@ const PATH_WHITE_LIST = [ |
|
|
'/passport/captcha/get',
|
|
|
'/passport/images',
|
|
|
'/passport/img-check.jpg',
|
|
|
'/passport/geetest/register'
|
|
|
'/passport/geetest/register',
|
|
|
'/activity/individuation/productLst',
|
|
|
'/activity/individuation/coupon',
|
|
|
'/activity/share',
|
|
|
'/activity/wechat/share',
|
|
|
'/activity/wechat/1111',
|
|
|
'/api/switch',
|
|
|
'/passport/login/user',
|
|
|
'/api/sw.js',
|
|
|
'/api/manifest.json',
|
|
|
'/api/activity/sw.js',
|
|
|
'/api/activity/manifest.json',
|
|
|
'/api/hfxRaNY27L.txt',
|
|
|
'/api/activity/hfxRaNY27L.txt',
|
|
|
'/api/shop/hfxRaNY27L.txt',
|
|
|
'/api/product/hfxRaNY27L.txt',
|
|
|
'/api/.well-known/apple-app-site-association',
|
|
|
'/sitemap.xml'
|
|
|
];
|
|
|
|
|
|
const limiter = (rule, policy, context) => {
|
...
|
...
|
|