From 6c03238aa9a5cb879b81ca143b3e900632b61846 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 22 Feb 2022 13:17:57 +0100 Subject: [PATCH] Update start-ipfs-server.ps1 --- Scripts/start-ipfs-server.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/start-ipfs-server.ps1 b/Scripts/start-ipfs-server.ps1 index d49c9b44..c16892ef 100755 --- a/Scripts/start-ipfs-server.ps1 +++ b/Scripts/start-ipfs-server.ps1 @@ -29,7 +29,7 @@ try { if ($lastExitCode -ne "0") { throw "'ipfs config Addresses.Gateway' failed" } $Hostname = $(hostname) - & ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[\"http://pi:5001\", \"http://localhost:3000\", \"http://127.0.0.1:5001\", \"https://webui.ipfs.io\"]' + & ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[\"http://miami:5001\", \"http://localhost:3000\", \"http://127.0.0.1:5001\", \"https://webui.ipfs.io\"]' if ($lastExitCode -ne "0") { throw "'ipfs config Access-Control-Allow-Origin' failed" } & ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '[\"PUT\", \"POST\"]'