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 handler: Deno.ServeHandler = function handler(request) {
|
||||||
const response = new Response(
|
const response = federation.fetch(
|
||||||
"Garasauto",
|
request,
|
||||||
{
|
{
|
||||||
headers: {
|
contextData: undefined,
|
||||||
"Content-Type": "text/plain"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue