diff --git a/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala b/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala index a99973b7e..70d1b6af4 100644 --- a/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala +++ b/src/main/scala/gitbucket/core/controller/RepositoryViewerController.scala @@ -837,14 +837,6 @@ trait RepositoryViewerControllerBase extends ControllerBase { archiveRepository(branch, branch + ".tar.gz", repository, "") }) - /** - * 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. */ @@ -858,7 +850,7 @@ trait RepositoryViewerControllerBase extends ControllerBase { */ 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, "") }) /**