-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Consider adding support for a HTTPS gateway #1789
Comments
Btw, I've create this here so that we can have a discussion but probably this should be added to go-ipfs as well if everyone agrees. |
@satazor do you mean exposing websocket-start rendezvous server through wss://? |
@pgte I meant the http gateway to also be exposed in https. It would be awesome to add a DApp built with The same thing applies to the exposed WS yes! Related: libp2p/js-libp2p-rendezvous#5 |
@satazor ha, gotcha! |
js-ipfs is being deprecated in favor of Helia. You can #4336 and read the migration guide. This is not planned for Helia but a module that implements this could be written that uses Helia behind the scenes. |
Type:
Feature
Severity:
Low
Description:
It would be awesome if we could (maybe optionally) expose a HTTPS gateway alongside the HTTP one. Sometimes, I want to share a web application built with peer-base within a workshop/talk, but it won't work. The reason is that security context is broken because the URL is something like
http://<my-lan-ip>:8080/ipfs/<cid>
and IPFS fails to boot becausewindow.crypto
is not defined.At the moment, we have to use https://github.com/naugtur/https-proxy-cli.
Steps to reproduce the error:
git checkout with-peer-base
npm i
npm run build
ipfs add -r build
window.crypto
being undefinedThe text was updated successfully, but these errors were encountered: