Skip to content

Commit

Permalink
Merge pull request #11 from lainosantos/fix_ssh_git_repo_url
Browse files Browse the repository at this point in the history
fix recipe url from ssh git url repo
  • Loading branch information
moay committed Jul 12, 2018
2 parents d07a0ef + f94b850 commit c2b3386
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ let vm = new Vue({
pattern = /^git\@[a-z.]*\:/
if (pattern.test(repoUrl)) {
gitServerHostName = pattern.exec(repoUrl)[0].replace('git@', '').replace(':', '')
repoUrl.replace(pattern, 'https://' + gitServerHostName + '/')
repoUrl = repoUrl.replace(pattern, 'https://' + gitServerHostName + '/')
}

pattern = /^https?\:\/\/[a-z.]*/
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"build/dashboard.css": "/build/dashboard.b1963f9d56ce5d23c3b365942619a02a.css",
"build/dashboard.js": "/build/dashboard.37bb0847d2441133ec9d.js"
"build/dashboard.js": "/build/dashboard.5e02d380f9d70724d94b.js"
}

0 comments on commit c2b3386

Please sign in to comment.