rsnext/test/integration/image-optimizer
umarsenpai 9fcfce3463
Fix serving Images through external rewrite with Image component (#21001)
This PR fixes the issue described here: https://github.com/vercel/next.js/issues/20909

The _req passed to getRequestHandler doesn't have `on` function which is required by http-proxy. It throws the error e.on is not a function. We should also wait for buffer to finish writing before sending the response. 

Fixes: https://github.com/vercel/next.js/issues/20909
Closes: https://github.com/vercel/next.js/issues/24177
2021-04-17 21:03:08 +00:00
..
pages Add support for Image Optimizer (#17749) 2020-10-16 13:10:01 +02:00
public Update decoder to correctly handle grayscale PNGs (#23393) 2021-04-01 15:16:26 +00:00
test Fix serving Images through external rewrite with Image component (#21001) 2021-04-17 21:03:08 +00:00
next.config.js Add support for Image Optimizer (#17749) 2020-10-16 13:10:01 +02:00