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

Forward response to edge runtime for response modification #49145

Merged
merged 1 commit into from
May 3, 2023

Conversation

huozhi
Copy link
Member

@huozhi huozhi commented May 3, 2023

For edge runtime, we're modifying res.statusCode in actions handler, but we didn't forward the res object to it, previously we're using a fake res {}. This PR fixes it so that the propery status code will be returned to the client

slack-thread

@huozhi huozhi marked this pull request as ready for review May 3, 2023 13:46
@kodiakhq kodiakhq bot merged commit a623653 into vercel:canary May 3, 2023
@huozhi huozhi deleted the fix/action-status branch May 3, 2023 14:05
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants