diff --git a/pkg/command/options.go b/pkg/command/options.go index 5d87cbe..6edb43b 100644 --- a/pkg/command/options.go +++ b/pkg/command/options.go @@ -135,7 +135,7 @@ func ParseOptions(args []string) (Options, error) { opts.SSLMode = "" } - if opts.Prefix != "" && !strings.Contains(opts.Prefix, "/") { + if opts.Prefix != "" && !strings.HasSuffix(opts.Prefix, "/") { opts.Prefix = opts.Prefix + "/" }