New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update response before sending #126
Comments
Transforming the response before sending is not supported. If you want to, you can try it anyway as follows: After this line, cors-anywhere/lib/cors-anywhere.js Line 102 in 2ee3147
overwrite proxyRes.pipe with a custom function that intercepts the data, transforms it, and writes the result to res .
You should overwrite |
Thanks for quick reply! Can you please let me know how can I add route? |
When you replace |
I want to remove all image tags and other changes from response.
Where can I update response before sending?
My assumption is in cors-anywhere.js file, but can't figure out exact location.
The text was updated successfully, but these errors were encountered: