We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a141701 commit 47cf40aCopy full SHA for 47cf40a
packages/hono/README.md
@@ -18,10 +18,10 @@ npm i --save stainless-api/stl-api#hono-0.1.0
18
## Creating a Hono app
19
20
```ts
21
-import { apiRoute } from "@stl-api/hono";
+import { stlApi } from "@stl-api/hono";
22
import { Hono } from "hono";
23
import api from "./api";
24
25
const app = new Hono();
26
-app.route("/", apiRoute(api));
+app.use("*", stlApi(api));
27
```
0 commit comments