File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff 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 を明示的にインストールする必要はありません。
Original file line number Diff line number Diff line change @@ -135,11 +135,9 @@ ws.addEventListener('open', () => {
135135
136136``` tsx
137137import { Hono } from ' hono'
138- import { createBunWebSocket } from ' hono/bun'
138+ import { upgradeWebSocket , websocket } from ' hono/bun'
139139import { html } from ' hono/html'
140140
141- const { upgradeWebSocket, websocket } = createBunWebSocket ()
142-
143141const app = new Hono ()
144142
145143app .get (' /' , (c ) => {
You can’t perform that action at this time.
0 commit comments