Skip to content

Commit

Permalink
feat: enable Web UI for embedded js-ipfs
Browse files Browse the repository at this point in the history
In past ipfs-webui crashed due to missing APIs (IPNS, MFS),
but recent version works quite nicely.
  • Loading branch information
lidel committed Jan 18, 2019
1 parent a211e21 commit 902106f
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 902106f

Please sign in to comment.