fix wrong file link in code search page #15466

Merged
a1012112796 merged 2 commits from fix_file_404 into master 2021-04-14 15:59:42 +00:00

2 Commits

Author SHA1 Message Date
334b8e2a93
Merge branch 'master' into fix_file_404 2021-04-14 16:24:39 +02:00
ce9b9ef4a7
fix wrong file link in code search page
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>
2021-04-14 17:22:10 +08:00