diff --git a/src/components/box/Box.js b/src/components/box/Box.js index abdb7f3..8260976 100644 --- a/src/components/box/Box.js +++ b/src/components/box/Box.js @@ -49,16 +49,16 @@ export const RawBoxNotAvailable = ({ t }) => ( Make sure you configure your IPFS API to allow cross-origin (CORS) requests:
-$ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["{ window.location.origin }", "https://share.ipfs.io"]'
- $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
- $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials '["true"]'
+ $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["{ window.location.origin }", "https://share.ipfs.io"]'
+ $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
+ $ ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials '["true"]'
{t('box.runDaemon')}
-$ ipfs daemon
Initializing daemon...
- API server listening on /ip4/127.0.0.1/tcp/5001
+ API server listening on /ip4/127.0.0.1/tcp/5001