Skip to content

Commit a4bd083

Browse files
authored
Merge branch 'honojs:main' into main
2 parents aafafbe + e107241 commit a4bd083

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/getting-started/deno.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Deno でもスターターを使用できます。
1616
[`deno init`](https://docs.deno.com/runtime/reference/cli/init/) コマンドでプロジェクトを作成してください。
1717

1818
```sh
19-
deno init --npm hono my-app --template=deno
19+
deno init --npm hono --template=deno my-app
2020
```
2121

2222
`my-app` に移動しますが、 Deno では Hono を明示的にインストールする必要はありません。

docs/helpers/websocket.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,9 @@ ws.addEventListener('open', () => {
135135

136136
```tsx
137137
import { Hono } from 'hono'
138-
import { createBunWebSocket } from 'hono/bun'
138+
import { upgradeWebSocket, websocket } from 'hono/bun'
139139
import { html } from 'hono/html'
140140

141-
const { upgradeWebSocket, websocket } = createBunWebSocket()
142-
143141
const app = new Hono()
144142

145143
app.get('/', (c) => {

0 commit comments

Comments
 (0)