Skip to content

Commit

Permalink
fix: coolshell favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
CaliCastle committed May 20, 2023
1 parent 5faf56c commit 91f0c35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/api/favicon/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function getKey(url: string) {
const faviconMapper: { [key: string]: string } = {
'(?:github.com)': 'https://cali.so/favicons/github.png',
'((?:t.co)|(?:twitter.com))': 'https://cali.so/favicons/twitter.png',
'coolshell.cn': 'https://cali.so/favicons/coolshell.png',
}

function getPredefinedIconForUrl(url: string): string | undefined {
Expand Down

0 comments on commit 91f0c35

Please sign in to comment.