mirror of https://github.com/go-gitea/gitea.git
Fix view of readme file in the home code page. (#30564)
Gitea attempts to display image file, pdf file, etc. named readme in the home code page (but it cannot). I think only the markdown and plain-text file should be displayed, which is also the behavior of GitHub. Co-authored-by: jxshin <zhujiaxinabc@gmail.com>pull/30700/head
parent
a19d2bbd90
commit
a63f14b908
Loading…
Reference in New Issue