fix(report): Avoid http reports error (#1216)

This commit is contained in:
otuki
2021-04-21 10:00:58 +09:00
committed by GitHub
parent 23f3e2fc11
commit e7ca491a94
2 changed files with 3 additions and 3 deletions

View File

@@ -283,7 +283,7 @@ func (p *ReportCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}
}
if p.toHTTP {
reports = append(reports, reporter.HTTPRequestWriter{Proxy: config.Conf.HTTPProxy})
reports = append(reports, reporter.HTTPRequestWriter{URL: config.Conf.HTTP.URL})
}
if p.toLocalFile {