Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-10-24 18:03:00 +0300
committerNick Thomas <nick@gitlab.com>2018-10-25 15:51:45 +0300
commit324ff19571cada7e148c53bb70e70f823eff4335 (patch)
treea9f906cda57278e97c2f78c4a734f750091e19f7 /config/routes
parenta1ee2072f1a7c197e13bd2d5f8ca59ad1deb1c49 (diff)
Backport SSH host key detection code to CE
This functionality is needed for SSH push mirroring support, which is a CE feature.
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/project.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 9cbd5b644f6..85872a4122a 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -178,6 +178,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resource :mirror, only: [:show, :update] do
member do
+ get :ssh_host_keys, constraints: { format: :json }
post :update_now
end
end