js-ipfs on both the browser and on my NodeJS server. I would like to connect the browser’s ipfs node to my server on page load so that I can start to retrieve data faster from the server.
I’ve seen answers that say I need to open up a
443 port and listen for
wss data then forward that data to the IPFS node. However, my server is the same server that hosts my application so
443 is already bound to my NodeJS Fastify https server.
What’s the best way to go about connecting my browser to my server’s IPFS node? Is WebSockets the only or recommended way to do this?