diff --git a/frameworks/fastro/hello_bench.ts b/frameworks/fastro/hello_bench.ts index 15cfab2b91..a9e61304e7 100644 --- a/frameworks/fastro/hello_bench.ts +++ b/frameworks/fastro/hello_bench.ts @@ -1,7 +1,7 @@ -import application from "https://deno.land/x/fastro/server/mod.ts"; +import fastro from "https://deno.land/x/fastro/mod.ts"; -const app = application(); +const f = new fastro(); -app.get("/", () => "Hello, Bench!"); +f.get("/", () => "Hello, Bench!"); -await app.serve({ port: 8000 }); +await f.serve({ port: 8000 });