Skip to content

Commit

Permalink
feat: enable Web UI for embedded js-ipfs (#656)
Browse files Browse the repository at this point in the history
In past ipfs-webui crashed due to missing APIs (IPNS, MFS),
but since v0.34 it works quite nicely.
  • Loading branch information
lidel authored Jan 18, 2019
1 parent 16d049e commit 25c0e6a
Show file tree
Hide file tree
Showing 3 changed files with 497 additions and 526 deletions.
2 changes: 1 addition & 1 deletion add-on/src/popup/browser-action/operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = function operations ({
onToggleRedirect
}) {
const activeQuickUpload = active && isIpfsOnline && isApiAvailable
const activeWebUI = active && isIpfsOnline && ipfsNodeType === 'external'
const activeWebUI = active && isIpfsOnline // (js-ipfs >=0.34.0-rc.0 is ok) && ipfsNodeType === 'external'
const activeGatewaySwitch = active && ipfsNodeType === 'external'

return html`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"drag-and-drop-files": "0.0.1",
"file-type": "10.7.0",
"filesize": "3.6.1",
"ipfs": "0.33.1",
"ipfs": "0.34.0",
"ipfs-css": "0.12.0",
"ipfs-http-client": "28.1.1",
"ipfs-http-response": "0.2.1",
Expand Down
Loading

0 comments on commit 25c0e6a

Please sign in to comment.