Skip to content

Commit

Permalink
Merge pull request #8 from seadfeng/main
Browse files Browse the repository at this point in the history
pull main
  • Loading branch information
seadfeng authored Aug 29, 2024
2 parents d459772 + 16582db commit a73febd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "favicon-downloader",
"version": "0.2.3.rc",
"version": "0.2.4.rc",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ export const proxyFavicon = async ({ domain, request }: { domain: string; reques
`https://icons.duckduckgo.com/ip3/${domain}.ico`
// `https://icon.horse/icon/${domain}`
];
let response: Response = new Response();
let response: Response = new Response("", {
status: 500
});

// Attempt to fetch favicon from each source
for (const source of sources) {
try {
Expand Down

0 comments on commit a73febd

Please sign in to comment.