12 lines · 393 B · TypeScript
RawDownload
export const PROJECT_FAVICON_FALLBACK_MARKER = "project-favicon-missing"; export function isProjectFaviconFallbackUrl(url: string | null | undefined): boolean {  if (!url) return false;   try {    const pathname = new URL(url, "https://t3.invalid").pathname;    return pathname.slice(pathname.lastIndexOf("/") + 1) === PROJECT_FAVICON_FALLBACK_MARKER;  } catch {    return false;  }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t