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

Fix redirect not working #265

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Fix redirect not working #265

merged 1 commit into from
Dec 5, 2024

Conversation

vKongv
Copy link
Contributor

@vKongv vKongv commented Aug 4, 2024

redirect should be returned or else hono will crash with error error: context is not finalized. did you forget to return a response object or await next()``

ref: https://hono.dev/docs/api/context#redirect

@sergiodxa sergiodxa changed the title fix: redirect not working Fix redirect not working Dec 5, 2024
@sergiodxa sergiodxa self-assigned this Dec 5, 2024
@sergiodxa sergiodxa added the bug Something isn't working label Dec 5, 2024
@sergiodxa sergiodxa merged commit f47516a into sergiodxa:main Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants