aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks_worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'brokenlinks_worker.go')
-rw-r--r--brokenlinks_worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/brokenlinks_worker.go b/brokenlinks_worker.go
index a196d2f..5cc8c25 100644
--- a/brokenlinks_worker.go
+++ b/brokenlinks_worker.go
@@ -303,7 +303,7 @@ func (wrk *brokenlinksWorker) scan(linkq linkQueue) {
}
_, seen := resultq[nodeLink.url]
if !seen {
- if !strings.HasPrefix(nodeLink.url, wrk.baseUrl.String()) {
+ if !strings.HasPrefix(nodeLink.url, wrk.scanUrl.String()) {
nodeLink.isExternal = true
}
resultq[nodeLink.url] = *nodeLink