From 7d48170705483779178a710602134fca491e61c1 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 22 Aug 2022 18:02:11 +0200 Subject: [PATCH] Adapt accepted CORS --- .install/ipfs_alone.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.install/ipfs_alone.sh b/.install/ipfs_alone.sh index f29f92c..db0bddf 100755 --- a/.install/ipfs_alone.sh +++ b/.install/ipfs_alone.sh @@ -93,6 +93,10 @@ ipfs config --json Swarm.ConnMgr.HighWater 0 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"]' + +ipfs config Addresses.API "/ip4/0.0.0.0/tcp/5001" +ipfs config Addresses.Gateway "/ip4/0.0.0.0/tcp/8080" + ######### CLEAN DEFAULT BOOTSTRAP TO STAY INVISIBLE ########### ipfs bootstrap rm --all ###########################################