diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2020-01-27 18:30:17 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2020-01-27 18:30:17 +0700 |
commit | db2a042fba4589c42f2b1e79e5d87456513f6567 (patch) | |
tree | 495aa501cc3df2370cb48ed493b65a420edb9666 /debian | |
parent | 825cbfc87e277254e585a7ea66f18a90967e61a3 (diff) | |
download | dotfiles-db2a042fba4589c42f2b1e79e5d87456513f6567.tar.gz |
Update 2020-01-27
Diffstat (limited to 'debian')
-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 } |