diff --git a/src/components/shell/Shell.js b/src/components/shell/Shell.js index dc4b3faa3..e9dca171d 100644 --- a/src/components/shell/Shell.js +++ b/src/components/shell/Shell.js @@ -1,12 +1,14 @@ import React from 'react' +import classNames from 'classnames' const Shell = ({ title = 'Shell', - children + children, + className }) => { return ( -
$ ipfs config --json Swarm.DisableBandwidthMetrics false
+ $ ipfs config --json Swarm.DisableBandwidthMetrics false
Start an IPFS daemon in a terminal:
$ ipfs daemon
+ $ ipfs daemon
Initializing daemon...
API server listening on /ip4/127.0.0.1/tcp/5001
Make sure you configure your IPFS API to allow cross-origin (CORS) requests, running the commands below:
$ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[{addOrigin && `"${origin}", `}"{defaultDomains.join('", "')}"]'
- $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST"]'
+ $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[{addOrigin && `"${origin}", `}"{defaultDomains.join('", "')}"]'
+ $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST"]'
Start an IPFS daemon in a terminal:
$ ipfs daemon
+ $ ipfs daemon
Initializing daemon...
API server listening on /ip4/127.0.0.1/tcp/5001