mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
fix: use /ipfs/gateway as the protocol ID for serving the gateway over libp2p
This commit is contained in:
parent
fb5cacac86
commit
5b0da08333
@ -906,7 +906,7 @@ func serveHTTPGateway(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, e
|
||||
return errc, nil
|
||||
}
|
||||
|
||||
const gatewayProtocolID protocol.ID = "/ipfs-gateway" // FIXME: specify https://github.com/ipfs/specs/issues/433
|
||||
const gatewayProtocolID protocol.ID = "/ipfs/gateway" // FIXME: specify https://github.com/ipfs/specs/issues/433
|
||||
|
||||
func serveTrustlessGatewayOverLibp2p(cctx *oldcmds.Context) (<-chan error, error) {
|
||||
opts := []corehttp.ServeOption{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user