Skip to content

Commit

Permalink
fix(browserAction): do not redirect WebUI
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Mar 18, 2017
1 parent cab9026 commit 3c7148b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions add-on/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "IPFS Gateway Redirect (Test Channel)",
"version" : "2.0.0alpha1",
"name": "IPFS Gateway Redirect (Development Channel)",
"version" : "2.0.0alpha2",

"description": "Access IPFS resources via custom HTTP2IPFS gateway",
"homepage_url": "https://github.com/lidel/ipfs-firefox-addon",
Expand Down
2 changes: 1 addition & 1 deletion add-on/src/lib/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function smokeTestLibs () {
// ===================================================================

function publicIpfsResource (url) {
return window.IsIpfs.url(url) && !url.startsWith(state.gwURLString)
return window.IsIpfs.url(url) && !url.startsWith(state.gwURLString) && !url.startsWith(state.apiURLString)
}

function redirectToCustomGateway (request) {
Expand Down

0 comments on commit 3c7148b

Please sign in to comment.