Rewrites should support proxying websockets connections to another service.
This is useful for getting around CORS issues.
My static site is at
example.com
and I would like
wss://example.com/api
to proxy websocket connections to
wss://example-api.onrender.com/api