Revert quick config

Can we create a shell script to revert the quick-config.sh changes for the webui?

ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin ‘[“http://localhost:3000”]’
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods ‘[“PUT”, “GET”, “POST”]’
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials ‘[“true”]’
echo “daemon has been configured for local Webui”

My non-development webui stopped working.

2 Likes