@cryptotaxi247 / kubo / commits / 5b0da0833

fix: use /ipfs/gateway as the protocol ID for serving the gateway over libp2p

Adin Schmahmann committed Aug 31, 2023 at 03:48 UTC 5b0da083330841bc031f410b4e503ccc12d9cd49
1 file changed +1 -1
cmd/ipfs/daemon.go
+1 -1
@@ -906,7 +906,7 @@ func serveHTTPGateway(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, e
906 return errc, nil
907 }
908
909 -const gatewayProtocolID protocol.ID = "/ipfs-gateway" // FIXME: specify https://github.com/ipfs/specs/issues/433
909 +const gatewayProtocolID protocol.ID = "/ipfs/gateway" // FIXME: specify https://github.com/ipfs/specs/issues/433
910
911 func serveTrustlessGatewayOverLibp2p(cctx *oldcmds.Context) (<-chan error, error) {
912 opts := []corehttp.ServeOption{