From a81c84a83509f3a1ebf140e927db2bc166a875b4 Mon Sep 17 00:00:00 2001 From: ulmentflam Date: Wed, 26 Jun 2024 13:19:15 -0400 Subject: [PATCH] Stupid /, typo --- install/ipfs-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/ipfs-install.sh b/install/ipfs-install.sh index c79c4bdf..54360e99 100644 --- a/install/ipfs-install.sh +++ b/install/ipfs-install.sh @@ -29,7 +29,7 @@ ipfs init ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001 ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080 LXCIP=$(hostname -I | awk '{print $1}') -ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"http:/${LXCIP}:5001\", \"http://localhost:3000\", \"http://127.0.0.1:5001\", \"https://webui.ipfs.io\", \"http://0.0.0.0:5001\"]" +ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"http://${LXCIP}:5001\", \"http://localhost:3000\", \"http://127.0.0.1:5001\", \"https://webui.ipfs.io\", \"http://0.0.0.0:5001\"]" ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "POST"]' msg_ok "Installed IPFS" @@ -47,7 +47,7 @@ Restart=on-failure WantedBy=multi-user.target EOF systemctl -q daemon-reload -systemctl enable -q ipfs.service +systemctl enable --now -q ipfs.service msg_ok "Created Service" motd_ssh