From db2a042fba4589c42f2b1e79e5d87456513f6567 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 27 Jan 2020 18:30:17 +0700 Subject: Update 2020-01-27 --- debian/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/.bashrc') 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 } -- cgit 1.4.1