diff options
Diffstat (limited to 'workhorse/internal/upstream/routes.go')
-rw-r--r-- | workhorse/internal/upstream/routes.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/workhorse/internal/upstream/routes.go b/workhorse/internal/upstream/routes.go index dd1725a723e..f1b4199b87f 100644 --- a/workhorse/internal/upstream/routes.go +++ b/workhorse/internal/upstream/routes.go @@ -285,6 +285,9 @@ func configureRoutes(u *upstream) { // NuGet Artifact Repository u.route("PUT", apiProjectPattern+`/packages/nuget/`, mimeMultipartUploader), + // NuGet v2 Artifact Repository + u.route("PUT", apiProjectPattern+`/packages/nuget/v2`, mimeMultipartUploader), + // PyPI Artifact Repository u.route("POST", apiProjectPattern+`/packages/pypi`, mimeMultipartUploader), @@ -391,6 +394,7 @@ func configureRoutes(u *upstream) { u.route("GET", geoGitProjectPattern+`info/refs\z`, git.GetInfoRefsHandler(api)), u.route("POST", geoGitProjectPattern+`git-upload-pack\z`, contentEncodingHandler(git.UploadPack(api)), withMatcher(isContentType("application/x-git-upload-pack-request"))), u.route("GET", geoGitProjectPattern+`gitlab-lfs/objects/([0-9a-f]{64})\z`, defaultUpstream), + u.route("POST", geoGitProjectPattern+`info/lfs/objects/batch\z`, defaultUpstream), // Serve health checks from this Geo secondary u.route("", "^/-/(readiness|liveness)$", static.DeployPage(probeUpstream)), |