diff --git a/cmd/ipfs/daemon.go b/cmd/ipfs/daemon.go index 128efc1aa..5705c3adc 100644 --- a/cmd/ipfs/daemon.go +++ b/cmd/ipfs/daemon.go @@ -542,11 +542,11 @@ func serveHTTPGateway(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, e var opts = []corehttp.ServeOption{ corehttp.MetricsCollectionOption("gateway"), - corehttp.CheckVersionOption(), - corehttp.CommandsROOption(*cctx), - corehttp.VersionOption(), corehttp.IPNSHostnameOption(), corehttp.GatewayOption(writable, "/ipfs", "/ipns"), + corehttp.VersionOption(), + corehttp.CheckVersionOption(), + corehttp.CommandsROOption(*cctx), } if len(cfg.Gateway.RootRedirect) > 0 {