Closed thanatpp closed 1 week ago
"elysia": "1.1.22"
Darwin 24.0.0 arm64 arm
import Elysia, { error } from "elysia"; const app = new Elysia({ aot: false }) .resolve(() => { return error(401); }) .get("/hello", () => "Hello") .listen(3000);
When we call endpoint /hello should be response an error status code 401.
/hello
401
No response
node_modules
bun.lockb
yes
What version of Elysia is running?
"elysia": "1.1.22"
What platform is your computer?
Darwin 24.0.0 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
When we call endpoint
/hello
should be response an error status code401
.What do you see instead?
No response
Additional information
No response
Have you try removing the
node_modules
andbun.lockb
and try again yet?yes