diff options
Diffstat (limited to 'debian/.bashrc')
-rw-r--r-- | debian/.bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/.bashrc b/debian/.bashrc index 3b86648..f8f277b 100644 --- a/debian/.bashrc +++ b/debian/.bashrc @@ -103,7 +103,7 @@ alias backup='rsync -avh --delete /home/ /data/Home/' eval $(thefuck --alias) function ipfs-cors { - ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://127.0.0.1:8080", "http://127.0.0.1:5001", "https://webui.ipfs.io"]' + ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://127.0.0.1:8000", "http://127.0.0.1:5001", "https://webui.ipfs.io"]' ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]' systemctl restart --user ipfs } |