diff --git a/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala b/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala index a99973b..70d1b6a 100644 --- a/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala +++ b/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala @@ -838,14 +838,6 @@ }) /** - * Download repository contents as a tar.gz archive as compatible URL. - */ - get("/:owner/:repository/archive/:branch.tar.gz")(referrersOnly { repository => - val branch = params("branch") - archiveRepository(branch, branch + ".tar.gz", repository, "") - }) - - /** * Download repository contents as a tar.bz2 archive as compatible URL. */ get("/:owner/:repository/archive/:branch.tar.bz2")(referrersOnly { repository => @@ -858,7 +850,7 @@ */ get("/:owner/:repository/archive/:branch.tar.xz")(referrersOnly { repository => val branch = params("branch") - archiveRepository(branch, branch + ".tar.bz2", repository, "") + archiveRepository(branch, branch + ".tar.xz", repository, "") }) /**