midjourney-api
midjourney-api copied to clipboard
Custom proxy for Websocket
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 !