Fix Regex to support GET queries

This commit is contained in:
Colin Hebert
2023-02-19 18:38:20 +11:00
parent 28b80ea961
commit d952b64eff

View File

@@ -44,7 +44,7 @@ access_control:
- domain_regex: '^prowlarr\.' - domain_regex: '^prowlarr\.'
policy: bypass policy: bypass
resources: resources:
- '^\d+/api(/|\?|$)' # Allow Torznab/Newznab access - '^/\d+/api\?' # Allow Torznab/Newznab access
# Effective default policy, only allow admins with two-factor # Effective default policy, only allow admins with two-factor
- domain_regex: '.*' - domain_regex: '.*'
policy: two_factor policy: two_factor