elysia-rate-limit
elysia-rate-limit copied to clipboard
Lightweight rate limiter plugin for Elysia.js
Please consider adding an option to the configuration to hide Ratelimit-* response headers There are probably scenarios where you don't want to reveal limit information on a particular route.
Fix https://github.com/rayriffy/elysia-rate-limit/issues/42 change type inject Server return value to `server or null` because typeof elysia.server is `server or null` https://github.com/rayriffy/elysia-rate-limit/compare/main...armada45-pixel:dev-arm-1?expand=1#diff-416aa897f3ece839c33af4d41fc86ac3e601372ce3f32cbf0bba7d1789dcd37f ```ts let serverInstance: Server const app = new Elysia() serverInstance...
**Before open the issue** - [x] I tried remove `node_modules/`, `bun.lockb`, and do a clean installation. - [x] I tried update Bun, and Elysia to latest version. **Describe the bug**...