added RAILS_RELATIVE_URL_ROOT support
This commit is contained in:
parent
e9394c48ca
commit
21e55ca318
7 changed files with 16 additions and 7 deletions
|
@ -18,7 +18,7 @@ Gitlab::Application.routes.draw do
|
|||
project_root: Gitlab.config.gitolite.repos_path,
|
||||
upload_pack: Gitlab.config.gitolite.upload_pack,
|
||||
receive_pack: Gitlab.config.gitolite.receive_pack
|
||||
}), at: '/:path', constraints: { path: /[-\/\w\.-]+\.git/ }
|
||||
}), at: '/', constraints: lambda { |request| /[-\/\w\.-]+\.git/.match(request.path_info) }
|
||||
|
||||
#
|
||||
# Help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue