I’d like to have a way to provide a working link a page (say my README.md file)
- When I’m logged in, this will work: https://gitea.mydomain.org/mygroup/project/src/branch/main/README.md
- When I’m not logged in, I get an error page instead showing a big 404
On the other hand:
- When I’m logged in, this will not work: https://gitea.mydomain.org/user/login?redirect_to=mygroup/project/src/branch/main/README.md. Instead of the README.md, I’ll get the overview page
- When I’m not logged in, the link will work as expected. I’ll have to login and afterwards, the README.md will be shown
So depending on my login status,
either
- https://gitea.mydomain.org/user/login?redirect_to=/mygroup/project/src/branch/main/README.md (=not logged in)
or
- https://gitea.mydomain.org/mygroup/project/src/branch/main/README.md (=already logged in)
brings me to README.md. Is there a way to link to README.md, no matter if I’m logged in or not?
Thx for your help!