Skip to content

Commit

Permalink
Merge pull request ethereum#466 from ethereum/github-import-fix
Browse files Browse the repository at this point in the history
Fix github import
  • Loading branch information
chriseth authored Mar 15, 2017
2 parents 19ed87c + ebe47ac commit c48adfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ var run = function () {
}

var handlers = [
{ match: /^https?:\/\/?www.?github.com\/([^/]*\/[^/]*)\/(.*)/, handler: function (match, cb) { handleGithubCall(match[3], match[4], cb) } },
{ match: /^(https?:\/\/)?(www.)?github.com\/([^/]*\/[^/]*)\/(.*)/, handler: function (match, cb) { handleGithubCall(match[3], match[4], cb) } },
{ match: /^(bzz[ri]?:\/\/?.*)$/, handler: function (match, cb) { handleSwarmImport(match[1], cb) } },
{ match: /^(ipfs:\/\/?.+)/, handler: function (match, cb) { handleIPFS(match[1], cb) } }
]
Expand Down

0 comments on commit c48adfe

Please sign in to comment.