Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

ipfs: enable CORS for API #68

Merged
1 commit merged into from
Aug 26, 2015
Merged

ipfs: enable CORS for API #68

1 commit merged into from
Aug 26, 2015

Conversation

ghost
Copy link

@ghost ghost commented Aug 24, 2015

Fixes ipfs/kubo#1586

License: MIT
Signed-off-by: Lars Gierth larsg@systemli.org

@ghost
Copy link
Author

ghost commented Aug 24, 2015

This allows:

        "http://gateway.ipfs.io",
        "http://ipfs.io",
        "http://localhost",
        "http://localhost:8080",
        "http://127.0.0.1",
        "http://127.0.0.1:8080"

@ghost ghost mentioned this pull request Aug 24, 2015
56 tasks
"http://127.0.0.1",
"http://127.0.0.1:8080"
]
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want a similar set for Gateway.HTTPHeaders

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
@ghost
Copy link
Author

ghost commented Aug 25, 2015

Yup, added the same headers for Gateway, I figure we can relax that later if we want to.

ghost pushed a commit that referenced this pull request Aug 26, 2015
ipfs: enable CORS for API
@ghost ghost merged commit 1856174 into master Aug 26, 2015
@ghost ghost deleted the gateway-cors branch August 26, 2015 17:42
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant