What version of Elysia is running?
1.2.25
What platform is your computer?
Darwin 24.3.0 arm64 arm
What steps can reproduce the bug?
When initializing the CORS plugin, regardless of where you apply it in the middleware chain it applies to all routes.
I want to be able to selectively apply CORS to certain routes, and not have it apply to other routes.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
Have you try removing the node_modules and bun.lockb and try again yet?
No response
What version of Elysia is running?
1.2.25
What platform is your computer?
Darwin 24.3.0 arm64 arm
What steps can reproduce the bug?
When initializing the CORS plugin, regardless of where you apply it in the middleware chain it applies to all routes.
I want to be able to selectively apply CORS to certain routes, and not have it apply to other routes.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
Have you try removing the
node_modulesandbun.lockband try again yet?No response