elysia-rate-limit icon indicating copy to clipboard operation
elysia-rate-limit copied to clipboard

Duplicate run when use multiple time

Open armada45-pixel opened this issue 2 months ago • 2 comments

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 Like title Duplicate run when use multiple time Issue example https://github.com/gaurishhs/elysia-ip/issues/18#issuecomment-2084854714

onBeforehandler will stack not repleace them seft if not using name in plugin instance

new Elysia()

and name it using

new Elysia({ name: "elysia-rate-limit" })

Screenshots image

armada45-pixel avatar May 03 '24 10:05 armada45-pixel