...
|
...
|
@@ -19,18 +19,33 @@ 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站合作方单击次数快加白名单
|
|
|
];
|
|
|
|
|
|
const PATH_WHITE_LIST = [
|
|
|
'/3party/check',
|
|
|
'/3party/check/submit',
|
|
|
'/passport/imagesNode',
|
|
|
'/passport/cert/headerTip',
|
|
|
'/passport/captcha/get',
|
|
|
'/passport/images',
|
|
|
'/passport/img-check.jpg',
|
|
|
'/passport/geetest/register'
|
|
|
'/passport/geetest/register',
|
|
|
'/activity/individuation',
|
|
|
'/activity/individuation/coupon',
|
|
|
'/activity/share',
|
|
|
'/activity/wechat/share',
|
|
|
'/activity/wechat/1111',
|
|
|
'/api/switch',
|
|
|
'/passport/login/user',
|
|
|
'/sw.js',
|
|
|
'/manifest.json',
|
|
|
'/activity/sw.js',
|
|
|
'/activity/manifest.json',
|
|
|
'/hfxRaNY27L.txt',
|
|
|
'/activity/hfxRaNY27L.txt',
|
|
|
'/product/shop/hfxRaNY27L.txt',
|
|
|
'/product/hfxRaNY27L.txt',
|
|
|
'/.well-known/apple-app-site-association',
|
|
|
'/service/sitemap.xml'
|
|
|
];
|
|
|
|
|
|
const limiter = (rule, policy, context) => {
|
...
|
...
|
|