Commit 7888e3ae authored by Saito's avatar Saito

now works with git clone http://localhost/repo.git now

parent 1df1daa1
......@@ -14,7 +14,7 @@ Gitlab::Application.routes.draw do
project_root: GIT_HOST['base_path'],
upload_pack: GIT_HOST['upload_pack'],
receive_pack: GIT_HOST['receive_pack']
}), at: '/git'
}), at: '/:path', constraints: { path: /[\w-]+.git*/ }
#
# Help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment