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

Invites broken #7

Open
nrgbistro opened this issue Mar 17, 2020 · 4 comments
Open

Invites broken #7

nrgbistro opened this issue Mar 17, 2020 · 4 comments

Comments

@nrgbistro
Copy link

When I click invite on the top right corner, the link it copies looks like: http://localhost/invite/xxxx, which obviously does not work. Even when I correct the domain from localhost to synclounge.domain.com, it redirects me to: https://localhost/#/join?server=https://synclounge.domain.com/slserver&room=xxxx&owner=xxxx&password=xxxx&.

Is there an environment variable I can set that would resolve this?

@spencerccurtis
Copy link

I have replicated the same issue, would love to see a fix especially now that most of the official servers are laggy.

@nrgbistro
Copy link
Author

nrgbistro commented Mar 30, 2020

My current workout to this is to simply correct the link again. When I get https://localhost/#/join?server=https://synclounge.domain.com/slserver&room=xxxx&owner=xxxx&password=xxxx&, I just replace localhost with my domain (for a second time). I have pinned this link to my discord server so anyone who wants to join the room can easily access it without any additional information. This is, however, a temporary workaround and exposes the room name, password, and owner.

@chrisbonilla95
Copy link

If you set the DOMAIN variable to synclounge.domain.com it should resolve that issue. I however ran into an additional issue: the container run file prepends http always, not https, and for whatever reason the invite url does not follow the 301 redirect rule I have setup in nginx to send http requests to https. For that I opened up the run.sh file and manually changed it from http to https. All working now, but I will likely have to change this manually whenever I update. Would be great to have a way of changing this using variables! See screenshots attached for full settings config.

https://imgur.com/a/pcVnjCx

@Apuru
Copy link

Apuru commented Jul 9, 2020

In your docker-compose file, try setting the docker env variable to domain.com/slweb.

Add the /slweb at the end

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

No branches or pull requests

4 participants