Merge branch 'master' into 12479-wb-structured-vocabulary
[arvados.git] / services / api / app / controllers / arvados / v1 / schema_controller.rb
index a237829ec7b4f06f6d0aae693a7853e318777b7f..d4be3c8093fee71692d5b1ed7b2d5fd57c96e44d 100644 (file)
@@ -60,6 +60,14 @@ class Arvados::V1::SchemaController < ApplicationController
         websocketUrl: Rails.application.config.websocket_address,
         workbenchUrl: Rails.application.config.workbench_address,
         keepWebServiceUrl: Rails.application.config.keep_web_service_url,
+        gitUrl: case Rails.application.config.git_repo_https_base
+                when false
+                  ''
+                when true
+                  'https://git.%s.arvadosapi.com/' % Rails.configuration.uuid_prefix
+                else
+                  Rails.application.config.git_repo_https_base
+                end,
         parameters: {
           alt: {
             type: "string",