Replies: 1 comment
-
|
Modifying CSS should be possible. Here is an example to manipulate images: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Does the
responseInterceptoronly intercept certain types of request responses, that can then be modified if required?I'm using
http-proxy-middlewareto proxy an entire website, including all assets; images, CSS, JS. I can tell that the CSS for example, is being proxied successfully by logging request URLs in myrouter; however, in my response handler:Only HTML responses are available for manipulation. The response from proxying CSS files is not accessible, and logging confirms that those requests are not intercepted by the
responseInterceptor.Version:
"http-proxy-middleware": "^3.0.5",Is this expected behaviour, or am I missing something obvious?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions