How to pass the final request URL as a header to the client? #1053
ContrapunctusII
started this conversation in
General
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
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