Skip to content

Instantly share code, notes, and snippets.

@gornostal

gornostal/cors.sh

Last active May 14, 2018
Embed
What would you like to do?
IPFS Node
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
version: '2.4'
services:
ipfs:
image: ipfs/go-ipfs
container_name: ipfs
restart: always
ports:
- 4001:4001
- 127.0.0.1:8080:8080
- 5001:5001
volumes:
- ./ipfs_data:/data/ipfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.