Skip to content

Commit 4178a29

Browse files
committed
Upgrade to Servie 4
1 parent 21508fe commit 4178a29

File tree

6 files changed

+242
-165
lines changed

6 files changed

+242
-165
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { compose } from "throwback";
2323
import { get } from "servie-route";
2424

2525
export const handler = createHandler(
26-
compose([get("/test", req => new Response({ body: "hello world" }))])
26+
compose([get("/test", req => new Response("hello world"))])
2727
);
2828
```
2929

0 commit comments

Comments
 (0)