From 7f9ab62be2fca6571d0b2e1673a82afb6e1b6ce4 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 22 Aug 2022 17:39:32 +0200 Subject: [PATCH] Adapt accepted CORS --- .install/ipfs_alone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.install/ipfs_alone.sh b/.install/ipfs_alone.sh index 2759362..f29f92c 100755 --- a/.install/ipfs_alone.sh +++ b/.install/ipfs_alone.sh @@ -90,7 +90,7 @@ ipfs config --json Experimental.Libp2pStreamMounting true ipfs config --json Experimental.P2pHttpProxy true ipfs config --json Swarm.ConnMgr.LowWater 0 ipfs config --json Swarm.ConnMgr.HighWater 0 -ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://astroport", "https://astroport.com", "https://qo-op.com", "https://tube.copylaradio.com" ]' +ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://127.0.0.1:8080", "http://astroport", "https://astroport.com", "https://qo-op.com", "https://tube.copylaradio.com" ]' ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]' ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials '["true"]' ######### CLEAN DEFAULT BOOTSTRAP TO STAY INVISIBLE ###########