Questions tagged [ipfs-companion]

4 questions
4
votes
1 answer

I encounter a CORS error when using the Tatum IPFS API

I have an NFT platform where I am using tatum to upload NFT image and metadata to IPFS. However, I get a CORS error. I am using the following API: const form = new FormData(); form.append("file", "[object Object]"); const resp = await fetch( …
frawd
  • 149
  • 2
0
votes
1 answer

What is the right way to locally copy pinned data in ipfs and what is the use of datastore folder?

I figured out pinned data is cached in blocks folder. Can I just get away with copying the files I need in blocks folder to backup? Is datastore folder generated automatically by ipfs daemon? I tried copying only the blocks folder to another ipfs…
da-nav
  • 31
  • 3
0
votes
1 answer

IPFS Companion - How to NOT load content from my node?

If files have been PINNED and I want to test them I need to turn off IPFS Companion as otherwise files get served from my node. Wondering if I could set it somehow that by default I am not redirected to my node in browser?
Blissful
  • 198
  • 8
0
votes
1 answer

IPFS X-Ipfs-Path on static images referenced on a dynamic non-IPFS https page forces localhost gateway to load over https

I'm trying to utilize IPFS to load static content, such as images and javascript libraries, on a dynamic site loaded on the http protocol. For example https://www.example.com/ is a normal web 2.0 page, with an image reference here…
Radderz
  • 2,770
  • 4
  • 28
  • 40