add comment
This commit is contained in:
@@ -724,6 +724,7 @@ async function processJob(job: Job & { id: string }, token: string) {
|
|||||||
) {
|
) {
|
||||||
if (job.data.isCrawlSourceScrape) {
|
if (job.data.isCrawlSourceScrape) {
|
||||||
// TODO: re-fetch sitemap for redirect target domain
|
// TODO: re-fetch sitemap for redirect target domain
|
||||||
|
// TODO: reset crawl source url to new target
|
||||||
} else {
|
} else {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
"Redirected target URL is not allowed by crawlOptions",
|
"Redirected target URL is not allowed by crawlOptions",
|
||||||
|
|||||||
Reference in New Issue
Block a user