Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanThatOneKid committed Apr 9, 2024
1 parent 41ad77a commit 9cbe872
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ Minimal HTTP router library based on the
import { createRouter } from "@fartlabs/rt";

const router = createRouter()
.get("/", () => {
return new Response("Hello, World!");
})
.get("/", () => new Response("Hello, World!"))
.default(() => new Response("Not found", { status: 404 }));

Deno.serve((request) => router.fetch(request));
Expand Down

0 comments on commit 9cbe872

Please sign in to comment.