Skip to content

Commit 5ed25be

Browse files
wxiaoguangdelvh
andauthored
Update routers/web/repo/view_home.go
Co-authored-by: delvh <dev.lh@web.de>
1 parent 22f3ab9 commit 5ed25be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/view_home.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ func RedirectRepoTreeToSrc(ctx *context.Context) {
417417
// Redirect "/owner/repo/tree/*" requests to "/owner/repo/src/*",
418418
// then use the deprecated "/src/*" handler to guess the ref type and render a file list page.
419419
// This is done intentionally so that Gitea's repo URL structure matches other forges (GitHub/GitLab) provide,
420-
// allowing we to construct submodule URLs across forges easily.
420+
// allowing us to construct submodule URLs across forges easily.
421421
// For example, when viewing a submodule, we can simply construct the link as:
422422
// * "https://gitea/owner/repo/tree/{CommitID}"
423423
// * "https://github/owner/repo/tree/{CommitID}"

0 commit comments

Comments
 (0)