1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-17 15:06:47 +08:00

rename Libp2pGatewayOption and hard code its gateway configuration

This commit is contained in:
Adin Schmahmann
2023-08-31 03:51:48 -04:00
parent 9d32f71e22
commit bc6bee1585
2 changed files with 10 additions and 8 deletions

View File

@ -911,7 +911,7 @@ const gatewayProtocolID protocol.ID = "/ipfs/gateway" // FIXME: specify https://
func serveTrustlessGatewayOverLibp2p(cctx *oldcmds.Context) (<-chan error, error) {
opts := []corehttp.ServeOption{
corehttp.MetricsCollectionOption("libp2p-gateway"),
corehttp.TrustlessGatewayOption(),
corehttp.Libp2pGatewayOption(),
corehttp.VersionOption(),
}