Skip to content

Commit

Permalink
process-url: skip a bad link
Browse files Browse the repository at this point in the history
  • Loading branch information
myfreeer committed May 3, 2024
1 parent 2eccd0c commit 68dbe6a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mdn/process-url/skip-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ export const skipProcess = (
skipExternalLogger.debug('skipped external link', host, url, parent?.url);
return;
}
// 20240503 a bad like to https://raw.githubusercontent.com/
// src: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest_API
if (element?.is('a') && url === 'https://raw.githubusercontent.com/') {
skipExternalLogger.debug('skipped external link', host, url, parent?.url);
return;
}
// special path for peach.blender.org
// this site is not a static file cdn
// Also referenced here:
Expand Down

0 comments on commit 68dbe6a

Please sign in to comment.