Skip to content

feat: response object access in pathRewrite (for locals) #854

Description

@AllanJard

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions