We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f3ab9 commit 5ed25beCopy full SHA for 5ed25be
routers/web/repo/view_home.go
@@ -417,7 +417,7 @@ func RedirectRepoTreeToSrc(ctx *context.Context) {
417
// Redirect "/owner/repo/tree/*" requests to "/owner/repo/src/*",
418
// then use the deprecated "/src/*" handler to guess the ref type and render a file list page.
419
// 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.
+ // allowing us to construct submodule URLs across forges easily.
421
// For example, when viewing a submodule, we can simply construct the link as:
422
// * "https://gitea/owner/repo/tree/{CommitID}"
423
// * "https://github/owner/repo/tree/{CommitID}"
0 commit comments