Просмотр исходного кода

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

hydrargyrum 5 дней назад
Родитель
Сommit
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
   - name: countries-with-aggressive-scrapers
     action: WEIGH
     action: WEIGH
     geoip:
     geoip:
-      counties:
+      countries:
         - BR
         - BR
         - CN
         - CN
     weight:
     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
 - name: countries-with-aggressive-scrapers
   action: WEIGH
   action: WEIGH
   geoip:
   geoip:
-    counties:
+    countries:
       - BR
       - BR
       - CN
       - CN
   weight:
   weight: