How to pass the final request URL as a header to the client? #1053
ContrapunctusII
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given a basic setup like this:
const proxyMiddleware = createProxyMiddleware<Request, Response>({ target: 'https://www.example.org', changeOrigin: true, });
How should I return to the client to final URL of the proxied response (after all redirects) as a header, like
x-url
?Beta Was this translation helpful? Give feedback.
All reactions