Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssl support #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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