Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed May 6, 2024
1 parent 2a69bf2 commit 53cd0b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/healthchecks/src/getDocsURLs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -22,6 +24,7 @@ export async function getAllFernDocsWebsites(): Promise<string[]> {
});
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];
}

0 comments on commit 53cd0b5

Please sign in to comment.