Worker always returns 200 with Hono

Not sure if this is the right place for this but, No matter what status I return it doesnt it seem to default to 200. when using new Response() it works without any issues. What am I doing wrong?

return c.json({
body: {
status: "404",
message: "No source found with that id",
},
status: 404,
})

return c.json({
body: {
status: "404",
message: "No source found with that id",
},
status: 404,
})
1 Reply
Makisuo
Makisuo14mo ago
Oh thanks Thanks wasnt sure if there was one, thanks for the quick help MeowHeartCloudflare