Skip to content

Commit dbb0b83

Browse files
fix: response not being returned when isHtml returns false
1 parent 131eafc commit dbb0b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/html.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function html(options: HtmlOptions = {}) {
3232
// use anonymous functions here.
3333
function htmlHandle({ set }, response) {
3434
if (!isHtml(response)) {
35-
return
35+
return response
3636
}
3737

3838
// Full means that we should only try to convert raw string responses

0 commit comments

Comments
 (0)