Skip to content

Commit 4f853f7

Browse files
committed
docs: 오타 수정
1 parent 174338e commit 4f853f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/streaming-ssr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ app.get("/", (ctx) => {
3131
});
3232
```
3333

34-
개발 서버를 실행한 후, http://localhost:3000에 접속하면 "Hello World" 문자열이 반환됩니다.
34+
개발 서버를 실행한 후 http://localhost:3000 접속하면 "Hello World" 문자열이 반환됩니다.
3535

3636
## 컴포넌트 작성하기
3737

@@ -160,7 +160,7 @@ router.get("/", async () => {
160160
> - `onShellReady` 함수가 호출되기 전 HTML의 기본구조 `<!DOCTYPE html>`, `<html>` 등을 chunk로 전송해야 합니다.
161161
162162
> [!TIP] 왜 PassThrough을 사용하나요?
163-
> stream 을 직접 제어하려고 [PassThrough](https://nodejs.org/api/stream.html#class-streampassthrough) 기반으로 stream을 중계합니다.
163+
> stream을 직접 제어하기 위해 [PassThrough](https://nodejs.org/api/stream.html#class-streampassthrough) 기반으로 stream을 중계합니다.
164164
165165
### 브라우저에 stream 전달하기
166166

src/lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const delay = (timeout = 2_000) => {
88
* From https://jsonplaceholder.typicode.com/
99
*/
1010
export const getTodoList = async () => {
11-
await delay(5000);
11+
await delay(2_000);
1212

1313
return [
1414
{

0 commit comments

Comments
 (0)