Move the CORS headers from IPFS to the nginx reverse proxy
This commit is contained in:
@@ -16,11 +16,6 @@ ipfs_config "Addresses.Gateway" do
|
||||
value "/ip4/127.0.0.1/tcp/9090"
|
||||
end
|
||||
|
||||
# Set up CORS headers
|
||||
ipfs_config "API.HTTPHeaders.Access-Control-Allow-Origin" do
|
||||
value ["kredits.kosmos.org"]
|
||||
end
|
||||
|
||||
# Set up the Gateway to be writable
|
||||
ipfs_config "Gateway.Writable" do
|
||||
value true
|
||||
|
||||
Reference in New Issue
Block a user