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 0c4b253..d53d110 100644 --- a/debian/.bashrc +++ b/debian/.bashrc @@ -102,7 +102,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://0.0.0.0:5001", "http://127.0.0.1:5001", "https://webui.ipfs.io"]' + 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-Methods '["PUT", "GET", "POST"]' systemctl restart --user ipfs } |