diff --git a/cron/fetcher.go b/cron/fetcher.go index 8e399aa..4f6a6be 100644 --- a/cron/fetcher.go +++ b/cron/fetcher.go @@ -87,9 +87,9 @@ func newDetectedItem(s *model.Strategy, ip string, idc string) g.DetectedItem { schema, domain, port, path := utils.ParseUrl(s.Url) if port == "" { - detectedItem.Target = schema + "//" + ip + path + detectedItem.Target = schema + "//" + domain + path } else { - detectedItem.Target = schema + "//" + ip + ":" + port + path + detectedItem.Target = schema + "//" + domain + ":" + port + path } detectedItem.Domain = domain