midjourney-api icon indicating copy to clipboard operation
midjourney-api copied to clipboard

Custom proxy for Websocket

Open morganfuchs opened this issue 1 year ago • 0 comments

Hello, I'd like to use proxies for websockets but I can't. I need to configure the proxy from a variable.

But even using the example (https://github.com/erictik/midjourney-discord/blob/main/examples/proxy.ts), I get this error: class ProxyWebSocket extends isomorphic_ws_1.default { ^ TypeError: Class extends value undefined is not a constructor or null

Thanks !

morganfuchs avatar Feb 15 '24 13:02 morganfuchs