Make the server fetch stuff from federation
This commit is contained in:
parent
f88c63b747
commit
c3e60e3c12
1 changed files with 3 additions and 5 deletions
|
@ -11,12 +11,10 @@ const federation = createFederation<void>({
|
|||
});
|
||||
|
||||
const handler: Deno.ServeHandler = function handler(request) {
|
||||
const response = new Response(
|
||||
"Garasauto",
|
||||
const response = federation.fetch(
|
||||
request,
|
||||
{
|
||||
headers: {
|
||||
"Content-Type": "text/plain"
|
||||
}
|
||||
contextData: undefined,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue