Skip to content

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 force-pushed the simple-custom-rooms-by-url branch from c384679 to 8f2685d Compare February 26, 2024 00:16
@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