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:
@ -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(),
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user