Skip to content
This repository was archived by the owner on Jul 25, 2025. It is now read-only.

Commit b6c9d67

Browse files
committed
Update example
1 parent 6ff15ee commit b6c9d67

File tree

1 file changed

+3
-1
lines changed
  • packages/node-fetch-server/examples/http2

1 file changed

+3
-1
lines changed

packages/node-fetch-server/examples/http2/server.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ server.on(
2020

2121
if (url.pathname === '/') {
2222
return new Response('Hello HTTP/2!', {
23-
headers: { 'content-type': 'text/plain' },
23+
headers: {
24+
'Content-Type': 'text/plain',
25+
},
2426
});
2527
}
2628

0 commit comments

Comments
 (0)