Update IPFS to the latest release

Also fix the ipfs config
This commit is contained in:
Greg Karékinian
2018-04-17 18:51:53 +02:00
parent b4624cf2aa
commit 11db96b3a1
6 changed files with 13 additions and 27 deletions

View File

@@ -18,7 +18,7 @@ end
# Set up the Gateway to be writable
ipfs_config "Gateway.Writable" do
value true
value "true"
end
# Set up CORS headers
@@ -26,7 +26,7 @@ ipfs_config "API.HTTPHeaders.Access-Control-Allow-Credentials" do
value '["true"]'
end
ipfs_config "API.HTTPHeaders.Access-Control-Allow-Methods" do
value '["PUT", "GET", "POST"]'
value '["PUT","GET","POST"]'
end
ipfs_config "API.HTTPHeaders.Access-Control-Allow-Origin" do
value '["*"]'