• marsara9@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      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/fediverse@lemmy.world which is undefined (may or may not work).

      • blawsybogsy@lemmy.mlOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        yeah, the relative ones are always on another instance it seems. if you strip the ‘/c/’ you can hit the ‘/community’ endpoint with the ‘comm@inst.ance’ part as the name parameter and it returns the community_view for it. works fine.