Merge pull request #1418 from saiberz/master

Changes repo uri
This commit is contained in:
Jeffrey Morgan 2016-02-01 20:24:22 -08:00
commit c6924a0f8e
1 changed files with 2 additions and 2 deletions

View File

@ -76,11 +76,11 @@ var ImageCard = React.createClass({
$tagOverlay.fadeOut(300);
},
handleRepoClick: function () {
var repoUri = 'https://registry.hub.docker.com/';
var repoUri = 'https://hub.docker.com/';
if (this.props.image.namespace === 'library') {
repoUri = repoUri + '_/' + this.props.image.name;
} else {
repoUri = repoUri + 'u/' + this.props.image.namespace + '/' + this.props.image.name;
repoUri = repoUri + 'r/' + this.props.image.namespace + '/' + this.props.image.name;
}
shell.openExternal(repoUri);
},