浏览代码

fix(geo): correct typo "counties" to "countries" (#678)

hydrargyrum 5 天之前
父节点
当前提交
244f1c505a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      data/botPolicies.yaml
  2. 1 1
      docs/docs/admin/thoth.mdx

+ 1 - 1
data/botPolicies.yaml

@@ -56,7 +56,7 @@ bots:
   - name: countries-with-aggressive-scrapers
     action: WEIGH
     geoip:
-      counties:
+      countries:
         - BR
         - CN
     weight:

+ 1 - 1
docs/docs/admin/thoth.mdx

@@ -59,7 +59,7 @@ For example, to add 10 weight points to requests from Brazil and China:
 - name: countries-with-aggressive-scrapers
   action: WEIGH
   geoip:
-    counties:
+    countries:
       - BR
       - CN
   weight: