0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 02:24:34 +01:00
gitea/routers
a1012112796 08ba895c2b
fix wrong file link in code search page (#15466)
in previous the grenrated link is
``testg/testrepo/src/commit/....``
which is not right.

the right version is ``/testg/testrepo/.......``
(start wiht ``/``)
or ``http://127.0.0.1:3000/xxxxx`` (full link)

to make it hase same result with explore page
I choose the secound style.

fix #15438

Signed-off-by: a1012112796 <1012112796@qq.com>

Co-authored-by: 6543 <6543@obermui.de>
2021-04-14 17:59:42 +02:00
..
admin
api/v1
dev
events
org
private
repo
routes
user
utils
home.go
init.go
install.go
metrics.go
swagger_json.go