Skip to content

Commit 4e20822

Browse files
committed
fix: allow authenticated api requests
1 parent 18115c0 commit 4e20822

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

weblate.botPolicies.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
bots:
1414
# You can import the entire default config with this macro:
1515
- import: (data)/meta/default-config.yaml
16+
- name: allow-api-requests
17+
action: ALLOW
18+
expression:
19+
all:
20+
- '"Accept" in headers'
21+
- '"Authorization" in headers'
22+
- path.startsWith("/api/")
1623

1724
dnsbl: false
1825

0 commit comments

Comments
 (0)