diff --git a/config/routes.rb b/config/routes.rb index beedb6a8..344d853c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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: '/:path', constraints: { path: /[\w-]+.git*/ } + }), at: '/:path', constraints: { path: /[\w-]+\.git/ } # # Help