change order according to Stebalien's suggestion
License: MIT Signed-off-by: Tim Stahel <git@swedneck.xyz>
Tim Stahel committed
Sep 5, 2018 at 00:06 UTC
a86fea95457d42c2f5751a206a6f3eac00c752de
1 file changed
+2
-2
cmd/ipfs/daemon.go
+2
-2
@@ -542,11 +542,11 @@ func serveHTTPGateway(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, e
542
543
var opts = []corehttp.ServeOption{
544
corehttp.MetricsCollectionOption("gateway"),
545
- corehttp.CheckVersionOption(),
546
- corehttp.CommandsROOption(*cctx),
545
corehttp.IPNSHostnameOption(),
546
corehttp.GatewayOption(writable, "/ipfs", "/ipns"),
547
corehttp.VersionOption(),
548
+ corehttp.CheckVersionOption(),
549
+ corehttp.CommandsROOption(*cctx),
550
}
551
552
if len(cfg.Gateway.RootRedirect) > 0 {