Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Sep 18, 2024
1 parent 8686ac0 commit 5babd72
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ await Deno.serve(
import { router } from "jsr:@denosaurs/rutt";

export default {
fetch: router({
"/hello/:name": (_req, _, { name }) =>
new Response(`Hello ${name}`, { status: 200 }),
}),
fetch: router({
"/hello/:name": (_req, _, { name }) =>
new Response(`Hello ${name}`, { status: 200 }),
}),
};
```

Expand Down
1 change: 0 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
"jsr:@denosaurs/rutt": "./mod.ts"
},
"exports": "./mod.ts"

}
8 changes: 4 additions & 4 deletions examples/serve.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { router } from "jsr:@denosaurs/rutt";

export default {
fetch: router({
"/hello/:name": (_req, _, { name }) =>
new Response(`Hello ${name}`, { status: 200 }),
}),
fetch: router({
"/hello/:name": (_req, _, { name }) =>
new Response(`Hello ${name}`, { status: 200 }),
}),
};

0 comments on commit 5babd72

Please sign in to comment.