Skip to content

How to pass data from express req object to the req received by middleware #49

Description

@ruslantalpa

In case of server side rendering, i want to forward a particular header (Cookie) from the express request to the (fetch) req object (the one received by middleware). How can one do that? I don't think i can have the middleware function accessing some global var (race conditions).

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions