We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30e1ef commit 7ed1991Copy full SHA for 7ed1991
1 file changed
packages/cli/src/init/templates/elysia/index.ts.tpl
@@ -0,0 +1,11 @@
1
+import { fedify } from "@fedify/elysia";
2
+import { Elysia } from "elysia";
3
+import federation from "./federation.ts";
4
+import { getLogger } from "@logtape/logtape";
5
+
6
+const logger = getLogger("/* logger */");
7
+const app = new Elysia();
8
9
+app
10
+ .use(fedify(federation, () => undefined))
11
+ .listen(3000)
0 commit comments