Update crawl.ts
This commit is contained in:
@@ -110,6 +110,7 @@ export async function crawlController(
|
|||||||
origin: "api",
|
origin: "api",
|
||||||
crawl_id: id,
|
crawl_id: id,
|
||||||
sitemapped: true,
|
sitemapped: true,
|
||||||
|
webhook: req.body.webhook,
|
||||||
v1: true,
|
v1: true,
|
||||||
},
|
},
|
||||||
opts: {
|
opts: {
|
||||||
@@ -155,3 +156,5 @@ export async function crawlController(
|
|||||||
url: `${req.protocol}://${req.get("host")}/v1/crawl/${id}`,
|
url: `${req.protocol}://${req.get("host")}/v1/crawl/${id}`,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user