Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statusText doesn't work #2

Closed
SaltyAom opened this issue Dec 5, 2022 · 1 comment
Closed

statusText doesn't work #2

SaltyAom opened this issue Dec 5, 2022 · 1 comment

Comments

@SaltyAom
Copy link
Member

SaltyAom commented Dec 5, 2022

Continue from saltyaom/kingworld#14

Question

Currently this returns 200 HM as there seems to be a bug in bun. Tracking in https://discord.com/channels/876711213126520882/1044751397993840770/1044751397993840770

return new Response(JSON.stringify({
field: 'value'
}), {
status: 200,
statusText: 'test'
});

Answer

Probably blocking until Bun 0.3.0 released

@SaltyAom
Copy link
Member Author

Test and fixed on Bun 0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant