Skip to content

Commit

Permalink
fix: add 'return' statement (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
succeun authored Oct 26, 2022
1 parent 7209147 commit 5badcb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buildRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const buildRouter = async (
reply.type('text/html');
}
if (html) {
reply.send(html);
return reply.send(html);
}
};

Expand Down

0 comments on commit 5badcb0

Please sign in to comment.