Skip to content

Commit 7e1cdda

Browse files
authored
Update handler.md
Need a closing parentheses to close the JSON.stringify ``` app.get('/', () => new Response( JSON.stringify({ 'vtuber': [ 'Shirakami Fubuki', 'Inugami Korone' ] }, { headers: { 'Content-Type': 'application/json' } }) ) ```
1 parent 4b5dcd5 commit 7e1cdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/concept/handler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ app.get('/', () => new Response(
102102
'Shirakami Fubuki',
103103
'Inugami Korone'
104104
]
105-
}, {
105+
}), {
106106
headers: {
107107
'Content-Type': 'application/json'
108108
}

0 commit comments

Comments
 (0)