From f690cfaac38a1ba2a577e5d27042bcbcfb83f770 Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Wed, 16 Apr 2025 18:12:00 +0200 Subject: [PATCH] Move bots early --- examples/forgejo.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/forgejo.yml b/examples/forgejo.yml index b9edc29..6f16cbb 100644 --- a/examples/forgejo.yml +++ b/examples/forgejo.yml @@ -411,6 +411,12 @@ rules: challenges: [self-resource-load, js-pow-sha256, http-cookie-check] conditions: ['($is-heavy-resource)'] + - name: standard-bots + action: check + challenges: [self-meta-refresh, self-resource-load] + conditions: + - '($is-generic-robot-ua)' + # Allow all source downloads not caught in browser above # todo: limit this as needed? - name: source-download @@ -450,7 +456,6 @@ rules: action: challenge challenges: [self-cookie] conditions: - - '($is-generic-robot-ua)' - '($is-tool-ua)' - '!($is-generic-browser)'