rystaf / mlmym

a familiar desktop experience for lemmy
GNU Affero General Public License v3.0
251 stars 16 forks source link

404 Not Found: couldnt_find_community when clicking on the suggested communities in the top ribbon #10

Closed AvatarMomo closed 1 year ago

AvatarMomo commented 1 year ago

Hello @rystaf, thank you for developing this software. I'm using it as a front-end for my lemmy instance.

I have encountered an issue where clicking on the community names on the top ribbon attempts to load communities that do not exist in my local instance. For example, when I click on "plugins," it tries to load https://myinstance.tld/c/plugins, resulting in a 404 Not Found error with the message "couldn't_find_community." However, the page still displays the home page.

To address this issue, I suggest incorporating an additional environment variable. This variable could be used to set an instance name, such as "lemmy.world," from which default communities are loaded. In this case, when I click on "plugins," it should attempt to load https://myinstance.tld/c/plugins@lemmy.world.

Thanks