From 699508d7061f9f594c24c8254d7abf088f3d3c40 Mon Sep 17 00:00:00 2001 From: Mario Lubenka Date: Wed, 30 Dec 2020 18:17:51 +0100 Subject: [PATCH] fix: virtual tag routing for files --- webserver/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver/handler.go b/webserver/handler.go index aa25472..1d17067 100644 --- a/webserver/handler.go +++ b/webserver/handler.go @@ -51,7 +51,7 @@ func ResolveVirtualMajorTag(client *git.Client) func(resp *Response, req *Reques } req.VirtualTag = majorVersion - req.Params = []string{repoSlug, "tag", latestTag.Tag, path} + req.Params = []string{repoSlug, "tag", latestTag.Tag, "-", path} FileHandler(client)(resp, req) } }