Skip to content

Commit 47cf40a

Browse files
committed
update readme
1 parent a141701 commit 47cf40a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/hono/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ npm i --save stainless-api/stl-api#hono-0.1.0
1818
## Creating a Hono app
1919

2020
```ts
21-
import { apiRoute } from "@stl-api/hono";
21+
import { stlApi } from "@stl-api/hono";
2222
import { Hono } from "hono";
2323
import api from "./api";
2424

2525
const app = new Hono();
26-
app.route("/", apiRoute(api));
26+
app.use("*", stlApi(api));
2727
```

0 commit comments

Comments
 (0)