Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running ipfs station #19

Open
needhelpjal opened this issue Feb 7, 2018 · 1 comment
Open

Problem running ipfs station #19

needhelpjal opened this issue Feb 7, 2018 · 1 comment

Comments

@needhelpjal
Copy link

I tried running ipfs config --json API.HTTPHeaders '{"Access-Control-Allow-Origin": ["*"]}'
It returns
Error: Unknown Command "API.HTTPHeaders"
ipfs daemon running ok
I can get to my config file via -
https://ipfs.io/
What do I do from there to up date the config file ?

@lidel
Copy link

lidel commented Mar 11, 2018

Are you using go-ipfs v0.4.13? Try this syntax instead:

ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'  # set
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin # read back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants