Auto-reformat code from now on

This commit is contained in:
Steffo 2024-10-17 02:46:08 +02:00
parent cdd2c37560
commit dbf7f6d49f
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -1,12 +1,12 @@
import {createFederation} from "@fedify/fedify" import {createFederation} from "@fedify/fedify"
import {RedisKvStore} from "https://jsr.io/@fedify/redis/0.3.0/src/kv.ts" import {RedisKvStore} from "https://jsr.io/@fedify/redis/0.3.0/src/kv.ts"
import {Redis} from "ioredis"; import {Redis} from "ioredis"
const federation = createFederation<void>({ const federation = createFederation<void>({
kv: new RedisKvStore( kv: new RedisKvStore(
new Redis({}), new Redis({}),
{} {},
), ),
}); });
@ -15,16 +15,15 @@ const handler: Deno.ServeHandler = function handler(request) {
request, request,
{ {
contextData: undefined, contextData: undefined,
} },
) );
return response return response
} };
Deno.serve( Deno.serve(
{ {
port: 8080 port: 8080,
}, },
handler handler,
) );