elk-zone / elk

A nimble Mastodon web client
https://elk.zone
MIT License
5.53k stars 567 forks source link

Server routes #621

Open patak-dev opened 1 year ago

patak-dev commented 1 year ago

Server routes should work:

https://elk.zone/m.webtoo.ls https://elk.zone/m.webtoo.ls/

This already works

https://elk.zone/m.webtoo.ls/public

jahands commented 1 year ago

@patak-dev Can you please provide more detail? What should these routes do?

patak-dev commented 1 year ago

@jahands it should do the same as visiting the URL of that server directly: https://m.webtoo.ls/

So, if there is an account logged in, it needs to redirect to /home. If there isn't, it should go to /explore