mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
17c62e0f3a
The `retryFailed` option will retry all failed links, once at a time with the goal of not triggering bot protection `microsoft.com` is now hard coded into the whitelist
8 lines
194 B
JavaScript
8 lines
194 B
JavaScript
// Sorry py folks, gotta be js for this one
|
|
const { checkBrokenLinks } = require("@langchain/scripts/check_broken_links");
|
|
|
|
checkBrokenLinks("docs", {
|
|
timeout: 10000,
|
|
retryFailed: true,
|
|
});
|