Skip to content

Commit

Permalink
move VersionOption after GatewayOption to fix #5422
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Stahel committed Sep 4, 2018
1 parent 78a32f2 commit 753332e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ipfs/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,9 @@ func serveHTTPGateway(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, e
corehttp.MetricsCollectionOption("gateway"),
corehttp.CheckVersionOption(),
corehttp.CommandsROOption(*cctx),
corehttp.VersionOption(),
corehttp.IPNSHostnameOption(),
corehttp.GatewayOption(writable, "/ipfs", "/ipns"),
corehttp.VersionOption(),
}

if len(cfg.Gateway.RootRedirect) > 0 {
Expand Down

1 comment on commit 753332e

@GitCop
Copy link

@GitCop GitCop commented on 753332e Sep 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were the following issues with your Pull Request

We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend can often help you quickly improve the commit message.
Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.


This message was auto-generated by https://gitcop.com

Please sign in to comment.