diff --git a/src/main.ts b/src/main.ts index aa367f1..b6c6041 100644 --- a/src/main.ts +++ b/src/main.ts @@ -11,12 +11,10 @@ const federation = createFederation({ }); const handler: Deno.ServeHandler = function handler(request) { - const response = new Response( - "Garasauto", + const response = federation.fetch( + request, { - headers: { - "Content-Type": "text/plain" - } + contextData: undefined, } )