I have two projects running locally
Front end: http://localhost:6035
Backend: http://localhost:3000
I configured cors on the backend, the following is my configuration:
backend
And the backend received the options request from the frontend, but the status code was 204?:
And the front end still reports an error Cors:
Did I do that step wrong? I tried all the methods mentioned in the issue but failed to solve the problem. I also tried deploying to vercel and the same thing happened. 🙏
What version of Hono are you using?
4.6.2
What runtime/platform is your app running on?
Bun
What steps can reproduce the bug?
I have two projects running locally Front end: http://localhost:6035 Backend: http://localhost:3000 I configured cors on the backend, the following is my configuration: backend
client:
And the backend received the options request from the frontend, but the status code was 204?: And the front end still reports an error Cors: Did I do that step wrong? I tried all the methods mentioned in the issue but failed to solve the problem. I also tried deploying to vercel and the same thing happened. 🙏
What is the expected behavior?
httpCode: 200
What do you see instead?
httpCode: 204
Additional information
No response