Skip to content

Conversation

@wouterverweirder
Copy link

This pull request adds support for connecting to comfy running on an HTTPS server. I chose to use an options parameter object, in case additional options need to be added in the future.

// passing secure:true makes sure the WebSocket connects to wss:// and the api calls happen through https://
// not passing any options defaults to the current behaviour (non-ssl)
const client = new ComfyUIClient(comfyUIUrl, clientId, { secure: true });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant