Skip to content

How to propagate context from client to server #720

Discussion options

You must be logged in to vote

it's not clear to me how to set those headers appropriately from the client.

Usually, you'd create a new Express.js route /login that sets the headers accordingly. (Or use an RPC tool, see https://vite-plugin-ssr.com/api-routes.) Does that answer your question?

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@brillout
Comment options

@marcusway
Comment options

@brillout
Comment options

@marcusway
Comment options

@brillout
Comment options

Answer selected by marcusway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants