jbx-protocol / juice-interface

🧃 An app for using the JBX protocol.
https://juicebox.money
MIT License
195 stars 126 forks source link

Does not work with IPFS companion. #4473

Open MicahZoltu opened 1 month ago

MicahZoltu commented 1 month ago
  1. Install Firefox.
  2. Install IPFS Companion browser extension.
  3. Try to load https://juicebox.money/v2/p/618?tabid=nft_rewards
  4. Notice that no NFTs show up.

The problem is that IPFS companion correctly redirects the remote IPFS requests to the user's configured IPFS gateway, such as a local node running via IPFS Desktop. However, the CSP for juicebox.money blocks these requests and thus the page fails to load.

The purpose of using IPFS is to protect against censorship and allow people to self-host, and by having a CSP that disallows redirecting to local IPFS node it undermines the entire purpose of using IPFS.