dappuniversity / nft_marketplace

145 stars 186 forks source link

CORS Issue with IPFS #11

Closed debiprasadmishra50 closed 1 year ago

debiprasadmishra50 commented 1 year ago

Hi @ethan-crypto Appreciate your work and content.

I ran an ipfs daemon, using ipfs Client, still, I am facing the CORS issue, requires immediate help. the supporting images are attached below.

image

image

image

Headers are set in the request image

Updated the config as well which I learnt from documentation API.HTTPHeaders.Access-Control-Allow-Origin

https://docs.ipfs.tech/reference/kubo/rpc/#origin-based-security

image

image