Fix Regex to support GET queries

This commit is contained in:
Colin Hebert
2023-02-19 14:34:48 +11:00
parent 418180fb59
commit 28b80ea961

View File

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