From c0393383fdcd57d074ac3e13e76ecc4f7c4ca72d Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Wed, 1 Jun 2016 19:05:43 +0200 Subject: [PATCH] test: CORS is enabled by default License: MIT Signed-off-by: Jakub Sztandera --- test/sharness/t0112-gateway-cors.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/sharness/t0112-gateway-cors.sh b/test/sharness/t0112-gateway-cors.sh index 1cc9371c4..dbb51021a 100755 --- a/test/sharness/t0112-gateway-cors.sh +++ b/test/sharness/t0112-gateway-cors.sh @@ -7,10 +7,6 @@ test_description="Test HTTP Gateway CORS Support" test_config_ipfs_cors_headers() { - ipfs config --json Gateway.HTTPHeaders.Access-Control-Allow-Origin '["*"]' - ipfs config --json Gateway.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]' - ipfs config --json Gateway.HTTPHeaders.Access-Control-Allow-Headers '["X-Requested-With"]' - ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]' ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]' ipfs config --json API.HTTPHeaders.Access-Control-Allow-Headers '["X-Requested-With"]'