1 files changed,
3 insertions(+),
1 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-02-15 16:48:03 +0200
Authored at:
2026-02-15 16:47:40 +0200
Change ID:
wtkzkxmkkrvtyykyoltsnotmvzxssvxy
Parent:
6e228d9
M
internal/handlers/git.go
ยทยทยท 24 24 h.infoRefs(w, r) 25 25 } else if path == "git-upload-pack" && r.Method == "POST" { 26 26 h.uploadPack(w, r) 27 - } else if r.Method == "GET" { 27 + } else if r.Method == "GET" && path == "" { 28 28 h.repoIndex(w, r) 29 + } else { 30 + h.write404(w, nil) 29 31 } 30 32 } 31 33