From 53cd0b51cbdb28fb2fcd4edfcfa55ce2d4151690 Mon Sep 17 00:00:00 2001 From: dsinghvi Date: Sun, 5 May 2024 23:07:14 -0400 Subject: [PATCH] fix --- packages/healthchecks/src/getDocsURLs.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/healthchecks/src/getDocsURLs.ts b/packages/healthchecks/src/getDocsURLs.ts index 35c0e0c5d4..c37cc95b8a 100644 --- a/packages/healthchecks/src/getDocsURLs.ts +++ b/packages/healthchecks/src/getDocsURLs.ts @@ -11,6 +11,8 @@ const CUSTOM_SUBPATHS = [ "https://buildwithfern.com/learn", ]; +const DOMAINS_TO_SKIP = ["app.buildwithfern.com", "api-docs.codecombat.com"]; + /** * Returns all the live fern docs urls */ @@ -22,6 +24,7 @@ export async function getAllFernDocsWebsites(): Promise { }); const verifiedDomains = listDomainsResponse.domains .filter((customDomain) => customDomain.verified) - .map((customDomain) => customDomain.name); + .map((customDomain) => customDomain.name) + .filter((domain) => !DOMAINS_TO_SKIP.includes(domain)); return [...CUSTOM_SUBPATHS, ...verifiedDomains]; }