diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-11-30 21:52:33 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2020-11-30 21:52:33 +0700 |
commit | b73bf44b7518cdf6d75b3bf79c67d217aced651f (patch) | |
tree | 7cdc3480f97d46d9553a5d92a210eb5e1d34124d /debian/.bashrc | |
parent | 7e2a016dc724dd9f6767a002f5da889740f137c6 (diff) | |
download | dotfiles-b73bf44b7518cdf6d75b3bf79c67d217aced651f.tar.gz |
Update 2020-11-30
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 } |