go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.07k stars 5.41k forks source link

Migration: Wiki shows 404 when Site link is not part of wiki #2158

Open ghost opened 7 years ago

ghost commented 7 years ago

Description

When migrating a repository from GitHub, Sites on the wiki, which link to documents in the main repository, show a 404 Error.

Example: https://try.gitea.io/Marco/Gadgetbridge-Mirror/tree/master/README.md

Site on GitHub: https://github.com/Freeyourgadget/Gadgetbridge/blob/master/README.md

lunny commented 7 years ago

Because it's not a compatible route here.