ソースを参照

Fix wiki raw commit diff/patch view (#16891)

tags/v1.16.0-rc1
6543 2年前
コミット
6d97befddf
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      routers/web/web.go

+ 1
- 1
routers/web/web.go ファイルの表示

@@ -895,7 +895,7 @@ func RegisterRoutes(m *web.Route) {
m.Get("/_pages", repo.WikiPages)
m.Get("/{page}/_revision", repo.WikiRevision)
m.Get("/commit/{sha:[a-f0-9]{7,40}}", repo.SetEditorconfigIfExists, repo.SetDiffViewStyle, repo.SetWhitespaceBehavior, repo.Diff)
m.Get("/commit/{sha:[a-f0-9]{7,40}}.{:patch|diff}", repo.RawDiff)
m.Get("/commit/{sha:[a-f0-9]{7,40}}.{ext:patch|diff}", repo.RawDiff)

m.Group("", func() {
m.Combo("/_new").Get(repo.NewWiki).

読み込み中…
キャンセル
保存