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

allow users to join global rooms by suffixing URL with /custom-room-id #620

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kiprasmel
Copy link

@kiprasmel kiprasmel commented Feb 26, 2024

simple solution:
snapdrop.net/ -> room by IP
snapdrop.net/foo -> room foo, no matter what IP

invalidates a previously faulty PR: #288
and provides an alternative: specify the snapdrop_mount if you app is deployed on a different URL than /.
it's not a "hack" to substitute the path via a command, like the home assistant guys used to do [1] -- it's normal, because you're doing a non-standard deployment. i just simplified how it'd need to be done now, while for everyone else, the easy room switching becomes available.

[1] deftdawg/homeassistant-addons@29f99c1

@kiprasmel kiprasmel changed the title allow users to join custom room by suffixing URL with /custom-room-id allow users to join global rooms by suffixing URL with /custom-room-id Feb 26, 2024
simple solution:
snapdrop.net/       -> room by IP
snapdrop.net/foo -> room foo, no matter what IP

invalidates a previously faulty PR:
SnapDrop#288

and provides an alternative: specify the `snapdrop_mount` if you app is
deployed on a different URL than `/`. it's not a "hack" to substitute
the path via a command, like the home assistant guys used to do [1] --
it's normal, because you're doing a non-standard deployment. i just
simplified how it'd need to be done now, while for everyone else, the
easy room switching becomes available.

[1] deftdawg/homeassistant-addons@29f99c1
@kiprasmel kiprasmel marked this pull request as draft February 26, 2024 00:30
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