use gertz route for std url

This commit is contained in:
wjqserver 2025-04-19 22:59:59 +08:00
parent 0b052f9c7f
commit 26a5148c6f
3 changed files with 161 additions and 41 deletions

View file

@ -65,8 +65,10 @@ func Matcher(rawPath string, cfg *config.Config) (string, string, string, error)
switch parts[2] {
case "releases", "archive":
matcher = "releases"
case "blob", "raw":
case "blob":
matcher = "blob"
case "raw":
matcher = "raw"
case "info", "git-upload-pack":
matcher = "clone"
default: