Skip to content

Commit

Permalink
Merge pull request #43 from a-luna:fix-codepoints-endpoint-not-rate-l…
Browse files Browse the repository at this point in the history
…imited_20240401

Fix RATE_LIMIT_ROUTE_REGEX to include 'codepoints'
  • Loading branch information
a-luna authored Apr 1, 2024
2 parents a64d83c + 8474943 commit 9df884b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/core/rate_limit.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
get_time_until_timestamp,
)

RATE_LIMIT_ROUTE_REGEX = re.compile(r"^\/v1\/blocks|characters|planes")
RATE_LIMIT_ROUTE_REGEX = re.compile(r"^\/v1\/blocks|characters|codepoints|planes")


@dataclass
Expand Down

0 comments on commit 9df884b

Please sign in to comment.