diff options
-rw-r--r-- | api/config.js | 3 | ||||
-rwxr-xr-x | ipfs-check-install-setup-init-update | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/api/config.js b/api/config.js index 84a85b1..088ce07 100644 --- a/api/config.js +++ b/api/config.js @@ -1,5 +1,4 @@ -const process = require("process"); -const env = process.env; +const { env } = require("process"); const config = { port : 8610, diff --git a/ipfs-check-install-setup-init-update b/ipfs-check-install-setup-init-update index 3e8dfdf..13f2961 100755 --- a/ipfs-check-install-setup-init-update +++ b/ipfs-check-install-setup-init-update @@ -38,6 +38,7 @@ install(){ } swarm_install() { if [ ! -f $HOME/.ipfs/swarm.key ]; then + logthis "[INFO]" "Downloading swarm key" wget -O $HOME/.ipfs/swarm.key https://arching-kaos.net/files/swarm.key ; elif [ "$(sha512sum $HOME/.ipfs/swarm.key | awk '{ print $1 }')" == "$SWARMSHA512SUM" ]; then logthis "[INFO]" "Congrats! You are already in our swarm" ; |