diff --git a/server/index.ts b/server/index.ts index 0fa0ae9..6ce3e66 100644 --- a/server/index.ts +++ b/server/index.ts @@ -76,7 +76,11 @@ async function fetchLogo(url: string, request: WorkerRequest) { return fetch(url, request).then(async function (response) { const headers = new Headers(response.headers); headers.set('Access-Control-Allow-Origin', '*'); - return new Response(response.body, { headers }); + return new Response(response.body, { + headers, + status: response.status, + statusText: response.statusText + }); }); }