summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-mirror-gitlab-ee2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-mirror-gitlab-ee b/git-mirror-gitlab-ee
index 60bdb95..161d657 100755
--- a/git-mirror-gitlab-ee
+++ b/git-mirror-gitlab-ee
@@ -30,7 +30,7 @@ class GitLabEE < GitLabCE
class Project < GitLabCE::Project
def mirrorURL
unless @cache.has_key?(:mirror)
- req = Net::HTTP::Get.new(URI(self.info["web_url"]+"/mirror"))
+ req = Net::HTTP::Get.new(URI(self.info["web_url"]+"/settings/repository"))
req.add_field("PRIVATE-TOKEN", @gl.config['apikey'])
res = @gl.request(req)
if res.code != "200"