3 ms·
So in order for this to work through a gateway, that gateway needs to set the CORS headers, or?
by eriknstr 9y ago
So in order for this to work through a gateway, that gateway needs to set the CORS headers, or?
- jstanley 9y agoNo because you'll be fetching it from the gateway, and then writing to the same gateway. No cross-domain going on.
- eriknstr 9y agoBut then is it not a security problem that other IPFS apps retrieved through the same gateway will be seen by the browser as being of same origin?
- jstanley 9y agoYes, for now. There is code existing to set the Suborigin header, but browser support is limited, and I'm not even sure if that code is merged into mainline IPFS yet.