You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order for the web app to upload/retrieve files from IPFS, you will need to add the proper IPFS configurations for access control. The following commands will resolve the issue:
In order for the web app to upload/retrieve files from IPFS, you will need to add the proper IPFS configurations for access control. The following commands will resolve the issue:
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials '["true"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST", "GET"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Headers '["Authorization"]'
ipfs config --json API.HTTPHeaders.Access-Control-Expose-Headers '["Location"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'
Also, it would be nice to put a license for this repo too. Thanks.
The text was updated successfully, but these errors were encountered: