this post was submitted on 19 Jul 2023
5 points (100.0% liked)
Lemmy App Development
711 readers
66 users here now
A place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform.
On-Topic:
- programming questions related to the Lemmy platform
- sharing your ideas, WIP, or released Lemmy-related work
Off-Topic:
- general programming questions unrelated to Lemmy
- feature requests for developers
- sharing or promoting work not related to Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The one that begins with https is obviously just a full URL and will take the user directly to that instance rather than staying on their home instance. And the one that starts with /c/ is a relative path. While it might work, if the community/user it points to is on the same server as the user, they might encounter errors as it might try and navigate to
https://lemmy.world/c/[email protected]
which is undefined (may or may not work).yeah, the relative ones are always on another instance it seems. if you strip the '/c/' you can hit the '/community' endpoint with the '[email protected]' part as the name parameter and it returns the community_view for it. works fine.