diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-08-31 15:30:15 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-08-31 15:30:15 +0200 |
commit | 4027a26e7b5a1a2a54dd57e480507095c91af26b (patch) | |
tree | 7cc1f7b50cf156f43918b7fbb57ca34af14b72ae /config | |
parent | 1081a322f1b846fcddb3cb77f068e2e818f9d73f (diff) | |
download | gitlab-ce-4027a26e7b5a1a2a54dd57e480507095c91af26b.tar.gz |
Replace grack with gitlab-git-http-server
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/config/routes.rb b/config/routes.rb index 8ba439f08b8..920ece518ea 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -30,12 +30,7 @@ Gitlab::Application.routes.draw do end # Enable Grack support - mount Grack::Bundle.new({ - git_path: Gitlab.config.git.bin_path, - project_root: Gitlab.config.gitlab_shell.repos_path, - upload_pack: Gitlab.config.gitlab_shell.upload_pack, - receive_pack: Gitlab.config.gitlab_shell.receive_pack - }), at: '/', constraints: lambda { |request| /[-\/\w\.]+\.git\//.match(request.path_info) }, via: [:get, :post] + mount Grack::Auth.new({}), at: '/', constraints: lambda { |request| /[-\/\w\.]+\.git\//.match(request.path_info) }, via: [:get, :post] # Help get 'help' => 'help#index' |