mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-08-10 16:19:27 +00:00
TUN-3715: Only read config file once, right before invoking the command
This commit is contained in:
@@ -17,7 +17,8 @@ import (
|
||||
func Command(hidden bool) *cli.Command {
|
||||
return &cli.Command{
|
||||
Name: "proxy-dns",
|
||||
Action: cliutil.ErrorHandler(Run),
|
||||
Action: cliutil.Action(Run),
|
||||
|
||||
Usage: "Run a DNS over HTTPS proxy server.",
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
|
Reference in New Issue
Block a user