Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
66855b5542
commit
ba93384f9b
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ func ParseMiscArgs(args []string, opts *util.Options) error {
|
|||
opts.HTTPS = true
|
||||
opts.Request.Server = arg
|
||||
opts.Logger.Info("DNS-over-HTTPS implicitly set")
|
||||
|
||||
_, endpoint, isSplit := strings.Cut(arg, "/")
|
||||
if isSplit {
|
||||
opts.HTTPSOptions.Endpoint = "/" + endpoint
|
||||
|
|
Loading…
Reference in a new issue