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

Response object access in pathRewrite (for locals) #854

Open
AllanJard opened this issue Nov 22, 2022 · 0 comments
Open

Response object access in pathRewrite (for locals) #854

AllanJard opened this issue Nov 22, 2022 · 0 comments

Comments

@AllanJard
Copy link

Describe the feature you'd love to see

I'm looking to access a res.local. property inside my pathRewrite custom function, but it isn't passed in - just the path and the request object.

I've looked around and I don't immediately see anyone else asking about this, so perhaps it is a little unusual, but the res object is available where prepareProxyRequest is called and it could be passed down the chain like res is perhaps?

Additional context (optional)

No response

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