Unverified Commit fa837afe authored by Hong Minhee's avatar Hong Minhee
Browse files

Fix `fedify init -w hono` command

parent 0fc63832
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -8,6 +8,11 @@ Version 0.12.1

To be released.

 -  Fixed a bug where `fedify init -w hono` had generated scaffold files without
    Fedify integration.
 -  Fixed a bug where `fedify init -r bun -w hono` had generated scaffold files
    with a wrong port number (was 3000).


Version 0.12.0
--------------
+4 −0
Original line number Diff line number Diff line
@@ -137,8 +137,11 @@ Then, try look up an actor from your server:
      files: {
        "src/app.ts": `\
import { Hono } from "${runtime === "deno" ? "@hono/hono" : "hono"}";
import { federation } from "@fedify/fedify/x/hono";
import fedi from "./federation${runtime === "deno" ? ".ts" : ""}";

const app = new Hono();
app.use(federation(fedi, () => undefined))

app.get("/", (c) => c.text("Hello, Fedify!"));

@@ -163,6 +166,7 @@ serve(
import app from "./app";

const server = Bun.serve({
  port: 8000,
  fetch: app.fetch.bind(app),
});