Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e4ea0f commit e8325b5Copy full SHA for e8325b5
git-host-info.js
@@ -25,7 +25,7 @@ var gitHosts = module.exports = {
25
'bugstemplate': 'https://{domain}/{user}/{project}/issues',
26
'httpstemplate': 'git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}',
27
'tarballtemplate': 'https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}',
28
- 'pathmatch': /^[/]([^/]+)[/](?!.*\/-\/)(.+?)(?:[.]git|[/])?$/
+ 'pathmatch': /^[/]([^/]+)[/]((?!.*(\/-\/|\/repository\/archive\.tar\.gz\?=.*|\/repository\/[^/]+\/archive.tar.gz$)).*?)(?:[.]git|[/])?$/
29
},
30
gist: {
31
'protocols': [ 'git', 'git+ssh', 'git+https', 'ssh', 'https' ],
0 commit comments