Skip to content

add sockets_url to socket key api - #180

Open
lepelog wants to merge 1 commit into
kbuzsaki:mainfrom
lepelog:sockets-url-in-join-api
Open

add sockets_url to socket key api#180
lepelog wants to merge 1 commit into
kbuzsaki:mainfrom
lepelog:sockets-url-in-join-api

Conversation

@lepelog

@lepelog lepelog commented Nov 10, 2021

Copy link
Copy Markdown
Contributor

The use case it that I want to support bingosync and also other instances at the same time, so the user just drops in the complete bingosync link with room code so I can make a request to the join-room api endpoint to get the socket key.

However, there is currently no way I'm aware of to get the url the sockets server is hosted at.

The only (really hacky) solution would be to mimic the normal user signin process and then grab the sockets url from the html with a regex or something, which is definitely not ideal.

So instead just send the sockets_url along with the socket_key.

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