Commit graph

6 commits

Author SHA1 Message Date
sam
140419a1ca
feat: rate limiter lets api v1 requests through 2024-12-25 12:08:53 -05:00
sam
b47ed7b699
rate limit tweaks
the /users/{id} prefix contains most API routes so it's not a good idea
to put a single rate limit on *all* of them combined. the rate limiter
will now ignore the /users/{id} prefix *if* there's a second {id}
parameter in the URL.

also, X-RateLimit-Bucket is no longer hashed, so it can be directly
decoded by clients to get the actual bucket name. i'm not sure if this
will actually be useful, but it's nice to have the option.
2024-12-02 16:13:56 +01:00
sam
8bba5f6137
fix: tweak rate limits as just browsing is triggering them 2024-11-25 16:15:07 +01:00
sam
cf2f624ae4
feat: add docker configuration 2024-09-14 18:07:49 +02:00
sam
8054d68f79
feat(rate): add customizable X-Powered-By header 2024-09-10 18:49:25 +02:00
sam
3d22385689
feat: add rate limiter proxy 2024-09-10 16:53:43 +02:00